You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround
Remove custom_snippets/0 in load_snippets/0 in the file apps/els_lsp/src/els_snippets_server.erl(should delete custom_snippets/0 and ensure_dir/1 as well)
-specload_snippets() ->ok.
load_snippets() ->init_snippets_table(),
% [insert_snippet(S) || S <- builtin_snippets() ++ custom_snippets()],
[insert_snippet(S) || S<-builtin_snippets()],
ok.
Context
erlang_ls version (tag/sha): 0.46.2
Editor used: VSCode
LSP client used: VSCode
The text was updated successfully, but these errors were encountered:
Describe the bug
LSP crashes when running in the coder-server container
To Reproduce
Pull and run the docker image
In the container, install Erlang and rebar3
# dependencies sudo apt-get update sudo apt-get install erlang curl https://s3.amazonaws.com/rebar3/rebar3 -o rebar3 sudo install rebar3 /usr/local/bin/rebar3 rm rebar3
Expected behavior
The LSP should start successfully
Actual behavior
Server crashes, it shows
Workaround
Remove
custom_snippets/0
inload_snippets/0
in the fileapps/els_lsp/src/els_snippets_server.erl
(should deletecustom_snippets/0
andensure_dir/1
as well)Context
erlang_ls
version (tag/sha): 0.46.2The text was updated successfully, but these errors were encountered: