Yasuo-Higano / vscode-gleam-outliner

VS Code Outline extension for the Gleam language
Apache License 2.0
3 stars 0 forks source link

Crashing on startup #1

Open bcpeinhardt opened 1 year ago

bcpeinhardt commented 1 year ago

Hi there! I installed the extension and it's crashing on startup :/ All the errors just say "connection to server got closed. Any idea why this might be happening? I'm on an M2 Mac and I have erlang installed via brew, the erl command is in my PATH.

Yasuo-Higano commented 1 year ago

Thanks for the report! If possible, could you tell me the FULL PATH of the home directory?

cd ~ ; echo $PWD
bcpeinhardt commented 1 year ago

/Users/benjaminpeinhardt

Yasuo-Higano commented 1 year ago

Hmmmmm... it doesn't seem to be a character code or whitespace issue. Maybe there is a problem with erlang code execution, so I'll try to create a diagnostic code that can be executed from the command line. Wait a minute.

Yasuo-Higano commented 1 year ago

We are currently using stdio to communicate with the language server, which may be related to this problem. https://github.com/erlang/otp/issues/7261 So I am considering supporting communication via tcp sockets.

Yasuo-Higano commented 11 months ago

How about ver 0.1.4 that supports @external? This could have caused an error the moment I opened the source. Please try it.