x/tools/gopls: Exhausted failed to load view #45171
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.
Issue
I use multi-module workspace (kinda monorepo). I'm getting an error from
gopls
that says -gopls
is looking for mynode
directory in my project workspace.Below is the directory structure of my workspace:
my-workspace
Fix
I would want to enable directory filters (
directoryFilters
) to explicitly say gopls to stop looking atnode
directory ornode_modules
in specific project path OR I wantgopls
to look at only the go directory in my project folderCould you please help if below is right format? Will below help in specifying gopls to look only at go directory
Or Would I be able to use
to make gopls to ignore all node directory?
***** Other details ******
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. I was seeing this issue even in earlier versions of
gopls
What operating system and processor architecture are you using (
go env
)?go env
What did you expect to see?
No errors from
gopls
.The text was updated successfully, but these errors were encountered: