gopls is causing termination of vscode window with no prompt or warning #2625
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
I was able to find the Go extension causing this by running vscode extension bisect.
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go version
to get version of Go from the VS Code integrated terminal.go version go1.19.3 darwin/amd64
Run
gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.v0.37.1
Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
I ran through vscode bisect and identified that the Go extension was causing vscode to terminate.
Other than a gif of the behavior (which is just typing "package main" and then vscode is terminated) not sure what else I can provide initially.
Steps to reproduce the behavior:
I'm not sure yet how to reproduce in any other public repos, but will update this issue as soon as I can.
I was able to see a few prefacing steps on the gopls (server) output window right before the crash.
I used the Go tools command to install the latest version of Gopls using vscode directly instead of my preferred aqua-proj tool installer. When running from my terminal
which -a gopls
I confirmed the highest ranking item in my path was the go/bin directory and not the other tool. The behavior was still the same.The text was updated successfully, but these errors were encountered: