Differences between the “erlang” extension in VS Code and “erlang-ls”?

Does anyone know the differences between the plain “erlang” extension in VS Code and the “erlang-ls” extension? I’ve been using the erlang extension, but it seems many here use erlang-ls.

2 Likes

Hi @Neiby ,

I think erlang-ls includes a language server using LSP (Language Server Protocol) so as well as syntax highlighting, indentation and bracket matching from “erlang”, you get code completion, syntax error messages and type hints etc.

Your code is parsed as you type by the language server, or something like that.

1 Like

Actually, both packages do this. But, I think erlang-ls actually uses the … more official? erlang_ls language server: GitHub - erlang-ls/erlang_ls: The Erlang Language Server

1 Like