nix-community / vscode-nix-ide

Nix language support for VSCode editor [maintainer: @jnoortheen]
https://marketplace.visualstudio.com/items?itemName=jnoortheen.nix-ide
MIT License
286 stars 22 forks source link

Command to restart language server #362

Closed lilyball closed 6 months ago

lilyball commented 11 months ago

Sometimes I'll get a notification saying the language server crashed 5 times in the past 3 minutes and will not be restarted[^1]. I can't find any way to restart the language server without reloading the whole window. Perhaps this extension could offer a command for the command palette to restart the language server?

[^1]: When I check it's always due to calling Result::unwrap() on an Err value, usually "EOF while parsing a value" though not always.

telometto commented 6 months ago

I'm experiencing the same issue.

jnoortheen commented 6 months ago

PRs welcome on it!

telometto commented 6 months ago

PRs welcome on it!

I wish I knew how to fix it 😅