-
Notifications
You must be signed in to change notification settings - Fork 739
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
Clarify unsupported Go versions in README and error messages #3412
Comments
The Go project only supports the last two major releases, currently 1.22 and 1.21: https://go.dev/doc/devel/release#policy gopls@latest requires at least Go 1.19: https://cs.opensource.google/go/x/tools/+/master:gopls/go.mod;l=3 |
Yes, please reinstall with a supported version of Go. Soon, gopls will require at least Go 1.21 (+forward compatibility) to build: golang/go#65917. I believe the extension should not have tried to install gopls@latest, since it should be knowledgeable of the last supported version. CC @hyangah in case there is a VS Code bug here. |
According to https://github.com/golang/tools/tree/master/gopls#supported-go-versions VS Code still claims to support tools installation with go1.18, but that's incorrect.
|
Thanks @hyangah. Transferring to the VS Code issue tracker. |
Duplicate of #3409 |
gopls version
n/a
go env
What did you do?
Due to an onboarding on a project I fresh installed go@1.18 in my environment using
asdf
and tried to setup the VSCode's extension to start coding.What did you see happen?
Error when installing
gopls@latest
.What did you expect to see?
All the tools installed properly.
Editor and settings
No response
Logs
The text was updated successfully, but these errors were encountered: