Summary
The plugin specified for Erlang, that from
pgourlain.erlang, is shipped with an outdated version of Erlang rebar, and hence does not work. Specifying in the config
"erlang.erlangPath": "parentdir/of/erl",
"erlang.rebarPath": "parentdir/of/rebar",
fixes this issue, but then still breaks due to underlying errors in the language server. I suspect this is due to using the very recently released Erlang/OTP version 28.
Switching to the
erlang-language-platform.erlang-language-platform fixes this problem. This plugin also seems to be developed by WhatsApp.
This problem is present in both:
-
.vscode/extensions.json
-
.devcontainer/devcontainer.json:customizations.vscode.extensions
Steps to reproduce
Either:
- Install devenv, direnv and the direnv plugin for vscode
- Use DevContainers to spin up the correct env
Load a
fluxer_gateway/**/*.erl file and watch
pgourlain.erlang cripple in the output of vscode.
1 comment
Comment by Rex