Crates.io | erlls |
lib.rs | erlls |
version | |
source | src |
created_at | 2023-07-30 09:51:04.074184 |
updated_at | 2025-02-16 12:15:44.792447 |
description | Erlang language server |
homepage | https://github.com/sile/erlls |
repository | https://github.com/sile/erlls |
max_upload_size | |
id | 929837 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Erlang language server.
textDocument/{didOpen,didSave}
)
ErlLS can be used with any LSP clients. Here are a few examples.
Please install erlls extension.
There is no need to install the erlls
binary using the $ cargo install
command as the extension already includes the WebAssembly build.
settings.json
)To include the Erlang/OTP applications in the search target, please specify the directory as follows:
{
"erlls.erlLibs": "/usr/local/lib/erlang/lib/:_checkouts:_build/default/lib"
}
NOTE:
erlls
command.$ cargo install erlls
.emacs
file.(with-eval-after-load 'lsp-mode
(add-to-list 'lsp-language-id-configuration
'(erlang-mode . "erlang")))
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection "erlls")
:activation-fn (lsp-activate-on "erlang")
:priority -1
:server-id 'erlls))