Provides support of Erlang language for Atom IDE, using atom-languageclient
and erlang_ls
LSP server.
Currently in development.
Known and somewhat tested functions:
erlang_ls
can be downloaded and compiled. It is now downloaded, if it was
downloaded earlier.erlang_ls
is started. Communication through stdio
only. Debug log is
written to .cache/erlang_ls
in Linux.Goto declaration
works for functions (even in other files).TODO list:
erlang_ls
.erlang_ls
and Atom IDE can provide.Known bugs:
Error: unexpected end of file
The following text appears in console:
Uncaught (in promise) Error: unexpected end of file
at Zlib.zlibOnError [as onerror] (zlib.js:166)
It appears that the extraction is attempted before download is complete. However
as far as I can see, the promises are handled correctly and debugging confirms
it. If such situation occurs, server loading should be restarted.This package is based on atom-languageclient
.
It uses Language Server Protocol and erlang_ls
server
to provide its functionality.
The source code of ide-java
package was used
heavily to develop this package.
I am not a very good JavaScript programmer. I am not familiar with Atom. And this is the first plug-in (package) I've ever written. So I will be very grateful for every constructive criticism and help with this project. I believe that Erlang is a fantastic language and it should be supported by Atom. I want to use Atom to develop my Erlang projects. Please, help me.
This work was inspired by a wonderful talk by erlang_ls
author Roberto Aloi,
called "Boost your productivity with the Erlang Language Server",
in Code BEAM V conference
on 11th September, 2020.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.