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-server
RETfsac
RET.
Automatic by lsp-mode
Debugger: Yes (netcoredbg)#
Available configurations#
lsp-fsharp-auto-workspace-init
#
Type: boolean
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.
lsp-fsharp-enable-reference-code-lens
#
Type: boolean
Default: t
Enables reference count code lenses.
lsp-fsharp-external-autocomplete
#
Type: boolean
Default: nil
Provides autocompletion for symbols from not opened namespaces/modules; inserts open on accept.
lsp-fsharp-generate-binlog
#
Type: boolean
Default: nil
Generate a binlog for debugging project cracking.
lsp-fsharp-interface-stub-generation
#
Type: boolean
Default: t
Enables code action to generate an interface stub.
lsp-fsharp-interface-stub-generation-method-body
#
Type: string
Default: failwith "Not Implemented"
Defines dummy body used by interface stub generator.
lsp-fsharp-interface-stub-generation-object-identifier
#
Type: string
Default: this
Defines object identifier used by interface stub generator,
e.g. this
or self
.
lsp-fsharp-keywords-autocomplete
#
Type: boolean
Default: t
Provides keywords in autocomplete list.
lsp-fsharp-linter
#
Type: boolean
Default: t
Enables FSharpLint integration, provides additional warnings and code action fixes.
lsp-fsharp-record-stub-generation
#
Type: boolean
Default: t
Enables code action to generate record stub.
lsp-fsharp-record-stub-generation-body
#
Type: string
Default: failwith "Not Implemented"
Defines dummy body used by record stub generator.
lsp-fsharp-resolve-namespaces
#
Type: boolean
Default: t
Enables resolve namespace quick fix; adds open
if symbol is from not yet
opened module/namespace.
lsp-fsharp-server-args
#
Type: (repeat string)
Default: nil
Extra arguments for the F# language server.
lsp-fsharp-server-install-dir
#
Type: directory
Default: ~/.emacs.d/.cache/lsp/fsautocomplete/
Install directory for fsautocomplete server. The slash is expected at the end.
lsp-fsharp-simplify-name-analyzer
#
Type: boolean
Default: nil
Enables simplify name analyzer and remove redundant qualifier quick fix.
lsp-fsharp-union-case-stub-generation
#
Type: boolean
Default: t
Enables a code action to generate pattern matching cases.
lsp-fsharp-union-case-stub-generation-body
#
Type: string
Default: failwith "Not Implemented"
Defines dummy body used by pattern matching generator.
lsp-fsharp-unused-declarations-analyzer
#
Type: boolean
Default: t
Enables unused symbol detection.
lsp-fsharp-unused-opens-analyzer
#
Type: boolean
Default: t
Enables unused open detection.
lsp-fsharp-use-dotnet-tool-for-fsac
#
Type: boolean
Default: t
Run FsAutoComplete as a dotnet tool.
The binary will be invoked via "dotnet fsautocomplete" in the project`s root directory, which will run a project-local tool if available, else the globally installed tool.