LSP-elixir
Elixir support for Sublime LSP plugin
Installations minus removals
Upgrades
- 4,116 installs
- 51 stars
Links
Versions
0.9.1
(ST4000+)
·
0.6.21
(ST3154 - 3999)
·
LSP-elixir
Elixir support for Sublime Text's LSP plugin provided through ElixirLS.
Requires Elixir 1.14.0+ and OTP 25+. A good way of installing these is
using the ASDF package manager with the
asdf-elixir plugin. On Windows,
Scoop is a solid option. scoop install elixir or
scoop install [email protected].
Installation
Install the following packages in Sublime Text:
- Elixir or Elixir Sublime Syntax - Elixir syntax support
- LSP - Base LSP package
- LSP-elixir - This plugin
Configuration
Defaults can be edited by selecting Preferences: LSP-elixir Settings from the
command palette.
Format on save
To format your code on save add the following setting to your syntax-specific settings (Elixir in this case) and/or project files:
{
"lsp_format_on_save": true
}
Upgrade to latest version
Renovate opens a pull request that updates SERVER_VERSION in plugin.py when a new release of
elixir-ls comes out, and the update-hash workflow pushes the new
SERVER_SHA256 to it. To update the hash locally after changing SERVER_VERSION, run:
./scripts/update_hash.py