castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
423 stars 25 forks source link

Please add a function to close the solargraph service when I close the editor or add a button to close it, Thank you! #177

Closed goe13 closed 4 years ago

castwide commented 4 years ago

I'm not sure this is feasible. Solargraph starts whenever the extension gets activated, most often because a Ruby file was opened in an editor. There's some overhead involved in starting the language server, so once it's initialized, it stays open for the duration of the session. This is typical behavior for all language servers. (If you mean the language server keeps running after you close VS Code altogether, that's a different issue.)

goe13 commented 4 years ago

You are right. The language server keeps running after I close VS Code altogether.

castwide commented 4 years ago
goe13 commented 4 years ago

Solargraph Environment Info

System
goe13 commented 4 years ago

When I reopen the VScode, it runs at least one solargraph process. image

goe13 commented 4 years ago

It's fixed.