Elixir#
Server#
For more information about the LSP server, check elixir-lsp/elixir-ls.
Installation#
For more instructions on how to install manually, check here.
Debugger: Yes#
Available configurations#
lsp-elixir-auto-build#
Type: boolean
Default: t
Trigger ElixirLS build when code is saved.
lsp-elixir-auto-insert-required-alias#
Type: boolean
Default: t
Enable auto-insert required alias.
lsp-elixir-dialyzer-enabled#
Type: boolean
Default: t
Run ElixirLS`s rapid Dialyzer when code is saved.
lsp-elixir-dialyzer-format#
Type: string
Default: dialyxir_long
Formatter to use for Dialyzer warnings.
lsp-elixir-dialyzer-warn-opts#
Type: (repeat string)
Default: nil
Dialyzer options to enable or disable warnings.
See Dialyzer`s documentation for options. Note that the "race_conditions" option is unsupported
lsp-elixir-dot-formatter#
Type: string
Default: .formatter.exs
Filename used for formatting.
lsp-elixir-enable-test-lenses#
Type: boolean
Default: t
Suggest Tests.
lsp-elixir-fetch-deps#
Type: boolean
Default: nil
Automatically fetch project dependencies when compiling.
lsp-elixir-incremental-dialyzer#
Type: boolean
Default: nil
Use OTP incremental dialyzer.
lsp-elixir-local-server-command#
Type: (repeat string)
Default: /home/runner/work/lsp-mode/lsp-mode/docs/.eask/30.2/.cache/lsp/elixir-ls/language_server.sh
Command to start local elixir-ls binary.
lsp-elixir-ls-download-url#
Type: string
Default: https://github.com/elixir-lsp/elixir-ls/releases/download/v0.29.2/elixir-ls-v0.29.2.zip
Automatic download url for elixir-ls.
lsp-elixir-ls-version#
Type: string
Default: v0.29.2
Elixir-Ls version to download.
It has to be set before lsp-elixir.el is loaded and it has to
be available here: https://github.com/elixir-lsp/elixir-ls/releases/
lsp-elixir-mcp-enabled#
Type: boolean
Default: nil
Enable or disable the MCP server.
lsp-elixir-mcp-port#
Type: number
Default: nil
Set a specific port for the MCP server.
lsp-elixir-mix-env#
Type: string
Default: test
Mix environment to use for compilation.
lsp-elixir-mix-target#
Type: string
Default: nil
Mix target to use for compilation (requires Elixir >= 1.8).
lsp-elixir-project-dir#
Type: string
Default: nil
Subdirectory containing Mix project if not in the project root.
If value is "" then defaults to the workspace rootUri.
lsp-elixir-server-command#
Type: (repeat string)
Default: (language_server.sh)
Command to start elixir-ls.
Leave as default to let executable-find search for it.
lsp-elixir-signature-after-complete#
Type: boolean
Default: t
Show signature help after confirming autocomplete.
lsp-elixir-suggest-specs#
Type: boolean
Default: t
Suggest @spec annotations inline using Dialyzer`s inferred success typings. This requires Dialyzer.