Repository navigation
Description
I found this while looking at the erlang-ls fixes in #1981.
Summary
The only Erlang template, erlang-ls, starts erlang-ls/erlang_ls. That repository is archived. Its last release is 1.1.0, from October 2024. In August 2025, its README was changed to say the project is unmaintained, and it recommends the Erlang Language Platform (ELP) instead.
ELP is maintained by WhatsApp under Apache-2.0 and gets regular releases. The latest one, 2026-10-14, came out in October 2026.
Proposal
Either of these would do:
-
Replace
erlang-lswith ELP. There's one Erlang template again, and it starts a maintained server. Users who created a language server from theerlang-lstemplate keep it: the server definition stores its own command, mappings, settings and installer, and only looks up its template for the link to its documentation. But nobody can create a new one from it. -
Add ELP as a second Erlang template, next to
erlang-ls, and say in the name oferlang-lsthat it's discontinued, since its last release and last code change, in October 2024:Template id Name in the list of templates erlang-ls(as today)Erlang Language Server (erlang_ls, discontinued October 2024) erlang-elp(new)Erlang Language Platform (ELP) The id
erlang-elpkeeps both Erlang templates next to each other in the list. Users who still need erlang_ls, e.g. for an OTP version that ELP doesn't support, can still choose it, and anyone choosing a template sees which of the two is the old one.
Either way, the new template's id would be erlang-elp.
The erlang-ls installer can't download on Linux and macOS
Independently of ELP, the erlang-ls installer looks for these assets:
| OS | Installer looks for | Release 1.1.0 has |
|---|---|---|
| Linux | erlang-linux*.zip |
erlang_ls-linux-24.tar.gz … erlang_ls-linux-27.tar.gz |
| macOS | erlang-macos*.zip |
erlang_ls-macos-24.tar.gz … erlang_ls-macos-27.tar.gz |
| Windows | erlang_ls-win*.tar.gz |
erlang_ls-windows-26.2.5.3.tar.gz |
So on Linux and macOS, no asset matches. #1981 fixed the template's command and the installer's escript check, but not this. With fixed names, there would be one build per OTP version (24 to 27), so the installer would also have to pick the one that matches the user's Erlang/OTP.
What an erlang-elp template would need
ELP is modelled on rust-analyzer: its README names rust-analyzer as its inspiration, and it uses some of rust-analyzer's crates (vfs, paths, stdx) as well as the same building blocks (salsa, rowan, lsp-server). It's shipped the same way too: one native program per OS and architecture, in GitHub releases whose tags are dates. So the rust-analyzer installer is a good model for an ELP installer.
-
Command:
elp server, as in ELP's Helix setup. When installed by LSP4IJ, the command would point to the downloaded file, e.g."$USER_HOME$/.lsp4ij/lsp/erlang-elp/elp" server, in a folder named after the template id (see Templates: install folders and commands don't always match #1960), with the path in quotes as in fix: small template and installer bugs from #1959, #1960, #1961 and #1947 #1981. -
File types: the same Erlang mapping as
erlang-ls(*.erl,*.hrl,*.escript, …), withlanguageIderlang. -
Installer: each release has one tarball per OS, architecture and OTP version, named
elp-[OS]-[ARCH]-[c]-otp-[OTP_VERSION].tar.gz:OS x86_64 aarch64 Linux elp-linux-x86_64-unknown-linux-gnu-otp-*.tar.gzelp-linux-aarch64-unknown-linux-gnu-otp-*.tar.gzmacOS elp-macos-x86_64-apple-darwin-otp-*.tar.gzelp-macos-aarch64-apple-darwin-otp-*.tar.gzWindows elp-windows-x86_64-pc-windows-msvc-otp-*.tar.gz— The installers can already pick an asset per architecture, as rust-analyzer's does with
x86_64andarm64. Unlike rust-analyzer, ELP has one more dimension, the OTP version, and its assets are.tar.gzarchives instead of a single compressed program. -
OTP version: the latest release has builds for OTP 27.3, 28.5 and 29.1. According to ELP's install docs, that's the version ELP was built with, not a strict requirement on the user's Erlang/OTP. So the installer could pick one fixed OTP build, e.g. the newest, instead of asking for the user's version.
-
Fallback URL: ELP's release tags are dates (
2026-10-14), so a fixed fallback URL goes stale quickly. See Installers: keep download versions current #1961 for that. -
macOS: ELP is also available as
brew install erlang-language-platform. The template's README could mention that, for users who'd rather manage it themselves.
A debug adapter for Erlang: edb
ELP itself is only a language server. The debug adapter comes from a separate WhatsApp project, edb ("The next-generation debugger for Erlang", Apache-2.0). ELP's VS Code extension ships a prebuilt edb, so in VS Code they come together. LSP4IJ has no Erlang debug adapter template yet, so an erlang-edb template would go well with erlang-elp.
- Command:
edb dap, per edb's DAP guide. - Installer: simpler than ELP's. Each release is a single tarball, e.g.
edb-1.0.0.tar.gzfrom October 2026, for both Linux and macOS. It has an escript for OTP 28 and one for OTP 29 and later, and anedblauncher that picks the right one. So there's nothing to choose per OS, architecture or OTP version. The launcher finds its escripts next to itself, so the extracted folder has to stay together, e.g. in~/.lsp4ij/dap/erlang-edb. - Requirements: Erlang/OTP 28 or later, with
erlon thePATH. Windows isn't supported yet. - Launch configurations: edb's README has two, which could become the template's examples:
launch, which starts e.g.rebar3 as test shellthrough the DAPrunInTerminalrequest. LSP4IJ already supports that request.attach, to a running node, withnodeandcookie.
- Projects: to debug, the code has to be compiled with
debug_info,beam_debug_infoandbeam_debug_stack, e.g. in atestprofile inrebar.config. The template's README could say so.
Open questions
- Replace
erlang-ls, or keep it next to ELP? - If it's kept: is the name the right place to mark it as discontinued, or would its README, or a note when it's chosen, be better?
- Should the erlang-ls installer's asset names be fixed anyway, or left as they are since erlang_ls is archived?
How this was checked
Claude Code checked the archive state, the commits and the release assets of both repositories with the GitHub API, and read ELP's README, Cargo.toml, and install and editor docs, as well as edb's README. Nothing was installed or started, and the contents of the ELP tarballs weren't checked.
Activity
fix: install perl-dap, erlang-ls and the Vue.js language server into …
feat: add a template for the Erlang Language Platform (ELP), and name…
feat: add a template for the edb Erlang debug adapter