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: