--
--
You received this message because you are subscribed to the Google
Groups "FSharp Open Source Community" group.
To post to this group, send email to fsharp-o...@googlegroups.com
To unsubscribe from this group, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource?hl=en
--
For those interested in F# IntelliSense for Emacs (vim, etc.), I think Laurent had some experimental version of it (for Emacs). It used a simple command-line interface for the compiler that loads the InteractiveChecker (described by Ben). It used to be available in "fsxplat" but the documentation for the sample somehow got lost, so I moved it to GitHub:
https://github.com/tpetricek/FSharp.FsIntelliSense
There is quite long README document that describes how you can use the tool – I think this is a good starting point for doing Emacs (etc.) integration, because it is based on simple standard input/output, which should be easy to call from any langauge in any editor.
I’ll update it to use the latest version of FSharpCompiler (described below) once I figure out how to get the current version of fsharpbinding to compile :-).
T.
How about the FSharpBinding.dll is split into two DLLs
FSharp.CompilerBinding.dll -- generic component for compiler services etc. over different versions of F# langauge/library etc.
MonoDevelop.FSharp.dll -- the MonoDevelop-specific stuff
You could then push your work into FSharp.CompilerBinding.dll and take a dependency on that for the emacs binding.
FSharp.CompilerBinding.dll would still live in in fsharp/fsharpbinding
Maybe the Emacs binding work could actually be moved into that repo. It could then become a general repo for "F# editing support" with several sub-projects and outputs (MonoDevelop, Emacs, Eclipse, ...). That could give unity and critical mass if we start to implement things like refactoring and renaming - the one implementation of renaming would be available to all editors.
--
T.
> 1. Do you mind if I take the latest sourceforge code and move development to
> github, hopefully later into a repo under github:/fsharp?
Please do. That makes sense to have everything at one place,
especially since the F# code should be shared with other projects.
> 2. You used the "esense" package for erlang support. It seems to be just for
> displaying completions. I am thinking of moving over to the autocomplete
> package http://cx4a.org/software/auto-complete/, any comments?
Feel free to use it. I don't think I've tried this one, so it may be better.
> 3. You also used tooltip-help.el, which I found on EmacsWiki. Do you think
> this could be adjusted to work with the tooltips built into Emacs instead?
> This would allow for mouse-over tooltips as in VS, rather than explicitly
> invoked tooltips (with <F1> currently).
Same here, I don't think I have tried the builtin tooltips. It sounds
like a good idea.
As you can see, the code is rather messy, I've reused pieces of code
from other projects, there are probably cleaner ways to do it.
--