vscode
vscode copied to clipboard
The Visual Studio Code Extension for the Erlang Language Server
Issue Type: Bug on making changes to a mix.exs file an error is spawned that does not allow mix.exs to run. The file has no issues and runs from a...
``` Could not start Language Server. Error: escript: exception error: undefined function erlang_ls:main/1 in function escript:run/2 (escript.erl, line 758) in call from escript:start/1 (escript.erl, line 277) in call from init:start_em/1...
very easy to reproduce, just start vscode w/ erlang_ls and notice it starts an erl process. then either close the window or reload it and the erl process remains.
1) Create a workspace 2) create a project with an include directory and a single hrl file 3) vscode does not complain about the -include() that references the hrl file...
The official VS Code client implemented this upon our request: https://github.com/microsoft/vscode-languageserver-node/issues/824#issuecomment-934146549 Therefore, the custom error handling is not required any longer and can be removed.
We should use `--version`, not `-version`. This also requires a tiny fix in Erlang LS itself, so that the process exits with a successful code whenever asked for a version.
Starting a language server via a `client.start()` can result in an error. Usually the `stdout` for the server process contain hints to what the problem could be. Intercept the error...
I frequently work on the same project on 2 different systems (one is linux and one is mac os) using the erlang ls extension for VS Code. I keep 2...
This extension consists of 287 files, out of which 138 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by...
To match the change brought in for https://github.com/erlang-ls/erlang_ls/issues/440 via https://github.com/erlang-ls/erlang_ls/pull/445