x/tools/gopls: find-references doesn't always search tests #43144
Labels
FrozenDueToAge
gopls/metadata
Issues related to metadata loading in gopls
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
On master (d93e913), it seems like find-references doesn't return results from test files unless you've opened the test's package.
Open only foo.go in your editor and run find-references on
Blah
. I expect to get foo.go and bar_test.go, but I only get foo.go:If I jump into bar.go and then run find-references again, it returns all expected results.
The text was updated successfully, but these errors were encountered: