Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.75 KB

erlang-ls.md

File metadata and controls

37 lines (21 loc) · 1.75 KB

Erlang Language Server

To enable Erlang language support in your IDE, you can integrate Erlang Language Server by following these steps:

Erlang LS demo

Install the language server

  1. Download Erlang/OTP.

  2. Download Erlang LS according your OS. Unzip the downloaded file which should contain the erlang_ls (escript) file which is the language server and copy/paste to your IntelliJ project base dir.

To start it, you will need to use the following command:

escript erlang_ls
  1. Open the New Language Server Dialog. This can usually be found under the IDE settings related to Language Server Protocol (LSP). For more information, refer to the New Language Server Dialog documentation.

  2. Select Erlang Language Server as the template from the available options.

    Erlang template

  3. Optional: You may also customize the mappings section according to your preferences.

    Erlang LS template mappings

  4. Click OK to apply the changes. You should now have Erlang language support enabled in your IDE:

    Erlang LS in LSP Console

You could also configure server (you should have completion which will help you to configure server):

Erlang LS configuration