x/tools/gopls: consider replace directives in the zero-config algorithm #64888
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.
Milestone
After a little time using the zero-config algorithm (#57979), it has become apparent to me that we should consider replace directives within the workspace.
Specifically, I noticed while navigating around Kubernetes that gopls creates too many unnecessary views for modules in the staging directory.
If a module replaces a directory contained in the workspace, the
selectViews
algorithm should merge those views.CC @adonovan @hyangah
The text was updated successfully, but these errors were encountered: