-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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: can't work on project in $GOPATH/pkg/mod #35485
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
If you tried to directly open that folder, I would expect it to fail. gopls is designed to start from a valid project root (a writable source folder either in your GOPATH or with a Nothing in If you just want to explore the code, create a trivial project that depends on that module and open that instead. |
No, I don't use gopls in |
I don't have any issues poking around in the mod cache in Emacs. Are you using a using a current version of lsp-mode? Can you provide steps to reproduce the issue? |
(And #34506 makes it so that |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Use emacs + gopls to navigate project in $GOPATH/pkg/mod
What did you expect to see?
No error
What did you see instead?
The text was updated successfully, but these errors were encountered: