eclipse / aCute

Eclipse aCute - C# edition in Eclipse IDE
https://projects.eclipse.org/projects/tools.acute
Eclipse Public License 2.0
80 stars 33 forks source link

FSharp integration with existing language server. #157

Open pawelurbanski opened 5 years ago

pawelurbanski commented 5 years ago

I tried to reconfigure Acute with Omnisharp to integrate it with existing FSharp language server. See: https://github.com/georgewfraser/fsharp-language-server The author @georgewfraser has done a load of work. The server is already integrated with VS Code.

What I tried with no results: Pointed OMNISHARP_LANGUAGE_SERVER_COMMAND at the FSLS binary. I updated the file association and project file extention in the plugin.xmlfile, and replaced it in the Acute jar. I updated the entry with fsharp.tmlanguage definition, which I got from teh Subline Text project.

Unfortunately no results... Eclipse does not bring ContentAssist and any other standard features, but I get no errors.

I use latest Eclipse on Windows 10 64-bit. The server is properly launching from the command line when invoked by providing the environment variable.

mickaelistria commented 5 years ago

I don't think trying to hack the jar directly is a working process as the Eclipse IDE can cache a lot of things, resulting in the modifications not being taken into account. If you want to try that, it would be welcome. But you'll need to basically do it the Eclipse way: Install Eclipse Plugin Development Environment in your IDE, import the code in your IDE, make the modifications you want, and then right-click > Run As > Eclipse application.