F# Language Server

Tips and information on how to install and use language servers with the editor.
Post Reply
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

F# Language Server

Post by Rickard Johansson »

FSharp Language Server
This project is an implementation of the language server protocol using the F# Compiler Service.

Download from: https://github.com/fsprojects/fsharp-language-server

Unpack and build:
>dotnet build -c release

Now you can add the server to a project.

Add the server in project/sites settings

Server name
FSharp language server

Command
FSharpLanguageServer.exe

Initial folder
%homepath%\fsharp-language-server-master\src\FSharpLanguageServer\bin\Release\net6.0

Command line arguments

File extension and language id
.fs=fsharp
.fsi=fsharp
.fsx=fsharp
.fsscript=fsharp

Communication channel
* Command line (stdio)

Source folders
<Path to your go project files>

Initialize options
{}

The server crashed all the time while testing, so you may want to try another language server first.
Maybe this one: https://github.com/fsharp/FsAutoComplete
Post Reply