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
gopls/internal/lsp: bundle certain quick-fixes with their diagnostic
To pragmatically avoid re-diagnosing the entire workspace, we can bundle
quick-fixes directly with their corresponding diagnostic, using the
Diagnostic.Data field added for this purpose in version 3.16 of the LSP
spec.
We should use this mechanism more generally, but for fixes with edits
we'd have to be careful that the edits are still valid in the current
snapshot. For now, be surgical.
This is the final regression we're tracking in the incremental gopls
issue (golang/go#57987).
Fixesgolang/go#57987
Change-Id: Iaca91484e90341d677ecf573944edffef6e07255
Reviewed-on: https://go-review.googlesource.com/c/tools/+/497398
TryBot-Result: Gopher Robot <[email protected]>
gopls-CI: kokoro <[email protected]>
Run-TryBot: Robert Findley <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
0 commit comments