gluon-lang / gluon

A static, type inferred and embeddable language written in Rust.
https://gluon-lang.org
MIT License
3.16k stars 145 forks source link

Language server doesn't work in VSCode #927

Closed MarkuBu closed 2 years ago

MarkuBu commented 2 years ago

Installed both gluon_repl and language server via cargo install. Both in $PATH (~/.cargo/bin). Can run the repl and language server in a terminal. But when I load a gluon file in VSCode I get this error:

[Error - 18:30:02] Starting client failed Launching server using command gluon_language-server failed.

Also get the message

Couldn't start client gluon

Syntax Highlighting is working

Ubuntu 20.04, VSCode 1.63.2, rustc 1.58.1

MarkuBu commented 2 years ago

Found the solution in this issue

https://github.com/gluon-lang/gluon_language-server/issues/20