wiki:els

Version 2 (modified by manualwiki, 3 years ago) (diff)

--

Erlang LS diagnostics

RefactorErl? now can integrate its diagnostics into Erlang LS. To following page will help you with the setup and give you some feature highlight.

What you need

-Erlang LS version:

How to set it up

RefactorErl? is like any other diagnostics in ELS, just it is computed outside of it. To enable you need to enable it in the config file of ELS. To learn more about how to config Erlang LS visit: ELS Configuration

diagnostics:
  enabled:
    - refactorerl

Some extra configuration is needed as the diagnostics are computed on the RefactorErl? node. You need to add a new root entry to diagnostic file, containing the node's name where RefactorErl? is running. (you must start the tool in distributed mode)

refactorerl:
  node: "nodeName@hostName" 		

Finally by default there are no diagnostics are run, even if the tool is enabled as a Erlang LS diagnostic. You need to enable certain diagnostics manually.

Attachments (1)

Download all attachments as: .zip