x/tools/gopls: Error loading workspace: You are outside of a module and outside of $GOPATH/src. #51632
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.
Milestone
What version of Go are you using (
go version
)?go version go1.16.14 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I closed VSCode after writing two modules within a bigger project. I used
replace x => ./packages/x
in each go.mod without any problems until reopening. This is similar to #46625What did you expect to see?
No errors, same state as when I closed it.
What did you see instead?
The text was updated successfully, but these errors were encountered: