x/tools/gopls: directoryFilters are mishandled when descending the workspace root to find a go.mod file #45340
Labels
FrozenDueToAge
gopls/workspace
Issues related to support for modules or multi-module workspaces.
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What did you do?
Configured gopls in vscode as follows:
Where
some/dir/moduleroot
contains a go.mod.What did you expect to see?
gopls detects the go.mod file in
some/dir/moduleroot
and uses it.What did you see instead?
gopls did not detect the go.mod file and was unable to resolve any imports.
Build info
The text was updated successfully, but these errors were encountered: