Skip to content

F##

Server#

For more information about the LSP server, check fsautocomplete.

Installation#

This Server supports automatic install. Install this language server with M-xlsp-install-serverRETfsacRET.

Automatic by lsp-mode

Debugger: Not available#

Available configurations#

lsp-fsharp-server-runtime#

Default: net-core

The .NET runtime to use.


lsp-fsharp-server-install-dir#

Default: ~/.emacs.d/.cache/lsp/fsautocomplete/

Install directory for fsautocomplete server. The slash is expected at the end.


lsp-fsharp-server-args#

Default: nil

Extra arguments for the F# language server.


lsp-fsharp-keywords-autocomplete#

Default: t

Provides keywords in autocomplete list.


lsp-fsharp-external-autocomplete#

Default: nil

Provides autocompletion for symbols from not opened namespaces/modules; inserts open on accept.


lsp-fsharp-linter#

Default: t

Enables FSharpLint integration, provides additional warnings and code action fixes.


lsp-fsharp-union-case-stub-generation#

Default: t

Enables a code action to generate pattern matching cases.


lsp-fsharp-union-case-stub-generation-body#

Default: failwith "Not Implemented"

Defines dummy body used by pattern matching generator.


lsp-fsharp-record-stub-generation#

Default: t

Enables code action to generate record stub.


lsp-fsharp-record-stub-generation-body#

Default: failwith "Not Implemented"

Defines dummy body used by record stub generator.


lsp-fsharp-interface-stub-generation#

Default: t

Enables code action to generate an interface stub.


lsp-fsharp-interface-stub-generation-object-identifier#

Default: this

Defines object identifier used by interface stub generator, e.g. ‘this’ or ‘self’.


lsp-fsharp-interface-stub-generation-method-body#

Default: failwith "Not Implemented"

Defines dummy body used by interface stub generator.


lsp-fsharp-unused-opens-analyzer#

Default: t

Enables unused open detection.


lsp-fsharp-unused-declarations-analyzer#

Default: t

Enables unused symbol detection.


lsp-fsharp-simplify-name-analyzer#

Default: nil

Enables simplify name analyzer and remove redundant qualifier quick fix.


lsp-fsharp-resolve-namespaces#

Default: t

Enables resolve namespace quick fix; adds ‘open’ if symbol is from not yet opened module/namespace.


lsp-fsharp-enable-reference-code-lens#

Default: t

Enables reference count code lenses. It is recommended to disable if ‘--backgorund-service-enabled’ is not used.


lsp-fsharp-auto-workspace-init#

Default: nil

Enable automatic workspace initialization. Do note that this can cause unexpected or challenging behaviors, as solutions with test projects are not autoloaded by FSharpAutoComplete.



Last update: April 15, 2021