erlang_ls icon indicating copy to clipboard operation
erlang_ls copied to clipboard

VSCode Erlang-LS & OTP 24

Open SuperPauly opened this issue 3 years ago • 1 comments

I'm on Win 10 fresh install I have just got OTP 24 and VScode with the Erlang-LS Extension.

I'm following the instructions here: https://erlang-ls.github.io/getting-started/vscode/ But when I open VSCode the first error I get is.

Could not start Language Server. Error: null And then. The current project is missing an erlang_ls.config file. Need help configuring Erlang LS for your project? Visit: https://erlang-ls.github.io/configuration/ And finally. Erlang LS (in Proj%201), version: 0.21.2, OTP version: 24

I have visited the configure link. and added the erlang_ls.config and changed the OTP path to "otp_path: C:/Program Files/erl-24.2.1 I have added the folder otp_path: C:/Program Files/erl-24.2.1/bin where the erl.exe.

How come the error is stating the version is 0.21.2?

I am following a basic tutorial fthe erlang site where the code is:

-module(hello).
-export([hello_world/0]).

hello_world() -> io:fwrite("hello, world\n").

When I click 'Run > Run Without Debugger' VSCode it also doesn't do anything

SuperPauly avatar Jan 29 '22 22:01 SuperPauly

Also encountered. It seems that dialyzer is not working properly either

acasta-yhliu avatar Mar 03 '22 05:03 acasta-yhliu