Comments (6)
Hi,
I use ErlangInstaller. when I switch to OTP 23.0. I didn't have this issue.
to check which version of erlang is use in the extension, activate trace in settings, then check the first line. it should be something like that
using erlang binaries from path : '/Users/xxxx/Library/Application Support/ErlangInstaller/23.0/bin'
from vscode_erlang.
Hi 😃
The extenstion has error occured by this syntax since 0.6.4 (versions prior to OTP21).
If you want to run OTP 21 20 or earlier, you can do so by reverting to an extension version.
- Get vsix.
curl -o erlang-0.6.3.vsix "https://pgourlain.gallery.vsassets.io/_apis/public/gallery/publisher/pgourlain/extension/erlang/0.6.3/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage"
- Open the command palette, type
vsix
and go toInstall from VSIX
to get Selecterlang-0.6.3.vsix
. - To turn off automatic updates to the extension, set the following
(appendix: You can easily specify a previous version by right-clicking on the extensions.)
setting.json
"extensions.autoUpdate": false
from vscode_erlang.
Thanks, I will check with the OTP 21 runtime.
from vscode_erlang.
Hi,
With 0.6.5, you can use until OTP 18.
can you check if it works for you ?
from vscode_erlang.
Hi
I checked with 0.6.5, It's work!!!
Compile error seems to be a problem specific to 0.6.4.
BTW, I post the errors on the vscode's OUTPUT.
- Erlang/OTP: 20.3
- vscode_erlang: 0.6.4
erlang extension is active
using erlang binaries from path : 'XXX/bin/erlang/20.3/bin'
starting : escript
XXX/.vscode/extensions/pgourlain.erlang-0.6.4/rebar3 compile
�[0;32m===> Verifying dependencies...
�[0m�[0;32m===> Compiling vscode_lsp
�[0m
�[0;31m===> �[1mCompiling apps/erlangbridge/src/lsp_navigation.erl failed
�[0m�[0m
apps/erlangbridge/src/lsp_navigation.erl:44: illegal pattern
apps/erlangbridge/src/lsp_navigation.erl:45: variable 'M' is unbound
apps/erlangbridge/src/lsp_navigation.erl:45: variable 'STK' is unbound
escript exit code:1
using erlang binaries from path : 'XXX/bin/erlang/20.3/bin'
starting : erl
-noshell -pa src -pa ebin -s int -vscode_port 62444 -s vscode_lsp_entry start 62444
src/lsp_navigation.erl:44: illegal pattern
src/lsp_navigation.erl:45: variable 'M' is unbound
src/lsp_navigation.erl:45: variable 'STK' is unbound
=ERROR REPORT==== 2-Aug-2020::10:43:45 ===
compile result of "src/lsp_navigation": error
=ERROR REPORT==== 2-Aug-2020::10:43:45 ===
compile_needed_modules failed : error
Thanks for good extension!
from vscode_erlang.
Thanks for your report and tests !
from vscode_erlang.
Related Issues (20)
- Formatter replaces code in ifdef sections HOT 1
- Go to references and peek references only find refs in the same file HOT 2
- Formating a `*.erl` file will cause error HOT 8
- go to function definition stopped working HOT 4
- lsp_handlers.erl:160: function formatting/1 undefined HOT 2
- Add new setting to disable auto indentation HOT 1
- Force log output window at startup HOT 2
- Basic Usage Problem with Rebar3 Release
- escript: exception error: undefined function rebar3:main/1 HOT 2
- After update to v.0.8.6 version language server stopped working HOT 2
- Error on debug console at the startup
- Extension starts in elixir projects and steals focus HOT 1
- Extension doesn't allow me to add dependency HOT 7
- Error in DebugAdapter - uncaughtException: Error: Parse Error: Invalid header value char HOT 2
- Go to definition fails at record name and field
- v0.9.5 does not work with Erlang OTP 26 on Windows 10 HOT 4
- not found _build HOT 3
- consider publishing to the Open VSX Registry HOT 3
- Search finds files in _build directory HOT 11
- Doesn't highlight the syntax of config files like sys.config, sys.config.src, elvis.config, etc HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode_erlang.