x/tools/gopls: outside GOPATH/src && module #44363
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Projects
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I'm not sure we didn't use the latest go version
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm using vs code with Go extension and its show me these message
Error loading workspace: You are outside of a module and outside of $GOPATH/src. If you are using modules, please open your editor to a directory in your module. If you believe this warning is incorrect, please file an issue: https://github.com/golang/go/issues/new.
What did you expect to see?
It should not show this error and extension can jump to source file when I click the function
What did you see instead?
It shows many errors on the files, it looks like it can not find dependency files.
The text was updated successfully, but these errors were encountered: