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
Just noticed that textDocument/codeLens response for go.mod generates a long message when the project has many dependencies. Assuming the module list can be computed when gopls.check_upgrades command is received lazily, I think it's wasteful to transmit this long list for every codelen response which is more frequent.
The text was updated successfully, but these errors were encountered:
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
Oct 21, 2023
I thinks that the textDocument/codeLens response should be configured to only send what is needed first, deferring the module list calculation until needed.
For example, a flag or token can be placed in the response that may indicate updates, but the module list calculation will not be performed until the user takes action.
Gopls version: gopls v0.14.0-pre.4
Just noticed that
textDocument/codeLens
response forgo.mod
generates a long message when the project has many dependencies. Assuming the module list can be computed when gopls.check_upgrades command is received lazily, I think it's wasteful to transmit this long list for every codelen response which is more frequent.The text was updated successfully, but these errors were encountered: