You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue follows up on zero-config gopls (#57979). With that change, gopls can dynamically add build configurations (Views) to work on, as files are opened and closed.
But for performance reasons, gopls does not load all build configurations: go list can take upwards of 10s, and there are ~50 supported ports.
However, when performing a workspace-wide refactoring such as renaming, or even while finding references, we should consider analyzing all workspace files to compute the set of required build configurations, and applying the refactoring for these configurations, since this is likely a much smaller set.
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Dec 28, 2023
This issue follows up on zero-config gopls (#57979). With that change, gopls can dynamically add build configurations (Views) to work on, as files are opened and closed.
But for performance reasons, gopls does not load all build configurations:
go list
can take upwards of 10s, and there are ~50 supported ports.However, when performing a workspace-wide refactoring such as renaming, or even while finding references, we should consider analyzing all workspace files to compute the set of required build configurations, and applying the refactoring for these configurations, since this is likely a much smaller set.
CC @adonovan @suzmue
The text was updated successfully, but these errors were encountered: