Skip to content

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-dialyzer-enabled#

Default: t

Run ElixirLS’s rapid Dialyzer when code is saved.


lsp-elixir-dialyzer-warn-opts#

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-dialyzer-format#

Default: dialyxir_long

Formatter to use for Dialyzer warnings.


lsp-elixir-mix-env#

Default: test

Mix environment to use for compilation.


lsp-elixir-mix-target#

Default: nil

Mix target to use for compilation (requires Elixir >= 1.8).


lsp-elixir-project-dir#

Default: nil

Subdirectory containing Mix project if not in the project root.

If value is ‘""‘ then defaults to the workspace rootUri.


lsp-elixir-fetch-deps#

Default: t

Automatically fetch project dependencies when compiling.


lsp-elixir-suggest-specs#

Default: t

Suggest @spec annotations inline using Dialyzer’s inferred success typings. This requires Dialyzer.


lsp-elixir-signature-after-complete#

Default: t

Show signature help after confirming autocomplete.


lsp-elixir-server-command#

Default: (language_server.sh)

Command to start elixir-ls.

Leave as default to let ‘executable-find’ search for it.


lsp-elixir-enable-test-lenses#

Default: t

Suggest Tests.



Last update: April 15, 2021