-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/gopls: <gopls crashed> #39996
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
Can you please share your VS Code settings? You can access them through the Command Palette (Ctrl + Shift + P) -> Preferences: Open Settings (JSON). |
Sorry, forgotten this... { |
I have docker on OSX with Kubernetes... Thanks |
@nicofr83 Thanks for providing the details! According to the log , From your settings, I see
That's how |
It is fixed, |
ATTENTION: Please answer these questions BEFORE submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is better.
A failing unit test is the best.
What did you expect to see?
process goals crash.
It seems to run if I start it in terminal : goals --serve
What did you see instead?
Error message saying that goals crashed....
[Info - 9:11:55 AM] Connection to server got closed. Server will restart.
gopls: Unknown command vs-kubernetes
The Go Language source tools.
Usage: gopls [flags] [command-flags] [command-args]
gopls is a Go language server. It is typically used with an editor to provide
language features. When no command is specified, gopls will default to the 'serve'
command. The language features can also be accessed via the gopls command-line interface.
Available commands are:
main:
serve : run a server for Go code using the Language Server Protocol
version : print the gopls version information
bug : report a bug in gopls
features:
check : show diagnostic results for the specified file
definition : show declaration of selected identifier
folding_ranges : display selected file's folding ranges
format : format the code according to the go standard
highlight : display selected identifier's highlights
implementation : display selected identifier's implementation
imports : updates import statements
inspect : inspect server state (daemon mode only)
links : list links in a file
prepare_rename : test validity of a rename operation at location
references : display selected identifier's references
rename : rename selected identifier
signature : display selected identifier's signature
fix : apply suggested fixes
symbols : display selected file's symbols
workspace_symbol : search symbols in workspace
gopls flags are:
Build info
I removed all go extensions
Reinstall only the go extensions
vscode standard (not daily build) up to date
osx Catalina
go 1.14.3 (but I got this problem with go 1.14 as well)
I have the following extensions installed
docker1.31
go 0.15
Kubernetes 1.21
pgFormatter 1.14.0
remote container (ms) 0.122.1
remote-ssh/remote ssh config file v0.51
vscode position 1.0.1
yaml 0.80
Go info
The text was updated successfully, but these errors were encountered: