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: setting up workspace and get code actions hanging when go.mod contains versions that no longer exist #46859
Comments
it looks like |
Does
ps. I assume |
Problem was isolated to the This caused |
Thanks @upsampled and good to hear that you figure it out on your own. We think there is still room for improvement in |
@hyangah I agree, the following would have greatly sped up my debug time:
|
Change https://golang.org/cl/330969 mentions this issue: |
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.go version go1.16.5 linux/amd64
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.26.0
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
When opened VS Code displays
Setting up workspace: Loading packages... Source: Go (extension)
When trying to save the 'finding actions from go' hangs
Steps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
The text was updated successfully, but these errors were encountered: