Lexical is a next-generation language server for the Elixir programming language.
For all the details on what makes Lexical stand out from other Elixir language servers, see the language server repository.
Using the extension
This extension will automatically download and install the
latest Lexical release from
Github when starting up. You can disable this behaviour and point the extension
to your own build with the
Tells the extension to use a local release of the Lexical language server
instead of the automatically installed one. Useful to work on Lexical, or use an
older version. This path can point to a directory that holds the lexical start
script (assumed to be
The path should look something like
Erlang and Elixir version compatibility
Auto-installed builds of Lexical are compatible with Elixir and Erlang versions that are newer than the version the build was built with.
Refer to the following table to know which version that is:
Refer to the Releases page of Lexical to find out what the latest version is.
These versions are a couple years old, and if you are using newer versions of Elixir and Erlang and Elixir in your projects, perfomrance will likely be better if you built Lexical yourself with a newer version of Elixir and Erlang.
The following table illustrates which versions of Erlang Lexical is compatible with when building yourself.
Lexical has much less strict requirements on the version of Elixir. Any supported version of Elixir should work with any build of Lexical, auto-installed or not. The supported versions of Elixir are as follows:
Lexical outputs logs to two different files:
Additionally, the Lexical channel in VSCode's Output tab may contain some pertinent information, notably when Lexical fails to start whatsoever (no log files are created).
Error in output tab: