x/tools/gopls: outside GOPATH/src && module #44363
Open
Comments
Can you please share a Is there any reason that you are working outside of your GOPATH and outside of a module? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: