-
Notifications
You must be signed in to change notification settings - Fork 645
[features request] Add a command to restart language server just like restart a typescript language server #2324
Comments
|
the rebuild progress sometimes spend too much time, enough to make me think it stuck and want restart it, I can't find a way to restart language server , so I have to run commad |
IMO this is related to #2253, |
@shynome It is not clear to me if you set Can you share all you go related settings? |
@ramya-rao-a it like this {
"go.useLanguageServer": true,
"go.alternateTools": {
"go-langserver": "bingo"
},
"go.languageServerFlags": ["--format-style", "goimports"],
"go.languageServerExperimentalFeatures": {
"format": true,
"autoComplete": true
},
} |
Ok, looks like you are using the bingo language server. Please log an issue at https://github.com/saibing/bingo/issues first. If it is determined there that this is an issue with the Go extension, then we can re-open this issue. |
if use anthor language server also need a command to restart language server, so this is not about bingo or others language server. |
The original problem was with getting auto-completions and other features when adding packages to the go.mod file. The language server should be able to give you these features without needing a restart which is why I suggested that this should be an issue for the language server. |
Thank's your reply. |
somtimes go language server can't found I have add a new pkg to go.mod, then I can't get any tips from the pkg until I exec
reload the window
command if have a command to restart language server I can justreload go language server
and don't lose my running cmd or othersThe text was updated successfully, but these errors were encountered: