x/tools/gopls: restrict references to workspace packages #59674
Labels
FrozenDueToAge
gopls/incremental
gopls
Issues related to the Go language server, gopls.
release-blocker
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
After the rewrite of references/rename, these operations became agnostic to the set of workspace packages. As such, finding references on e.g.
fmt.Println
will find references throughout the module graph, not just in workspace modules.This is a change in behavior, may produce noisy references, and can lead to slow initial performance of queries, as we only pre-compute reference indexes for workspace packages.
We should filter these queries to workspace packages.
The text was updated successfully, but these errors were encountered: