Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

[features request] Add a command to restart language server just like restart a typescript language server #2500

Closed
shynome opened this issue May 6, 2019 · 4 comments · Fixed by #2530

Comments

@shynome
Copy link

shynome commented May 6, 2019

The same as #2324

Today I use vscode to develop a golang project , and find I am so in need this features if without it just can kill language server in task manager and wait vscode restart the language server

the best developer also can't catch various situations, like move a go file to another package the language server can't know how to do and I lose tips , why not give the language server a choice to restart

@SteelPhase
Copy link
Contributor

BaseLanguageClient exposes a start() method, and LanguageClient exposes a stop() method. I'm assuming a command could use those to restart the underlying language server. Would anyone be willing to confirm that?

@shynome
Copy link
Author

shynome commented May 25, 2019

@SteelPhase Thanks your help

@ramya-rao-a
Copy link
Contributor

The latest beta version of this extension has the command Go: Restart Language Server that can be used to restart the language server. Thanks @SteelPhase!

@ramya-rao-a
Copy link
Contributor

The command to restart the language server is now available in the latest update (0.11.0) to this extension. Thanks @SteelPhase!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants