x/tools/gopls: use VersionedTextDocumentIdentifier in TextEdits #35243
Labels
Documentation
Issues describing a change to documentation.
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
See https://microsoft.github.io/language-server-protocol/specifications/specification-3-15/#versionedTextDocumentIdentifier for details.
We currently do not cache the file's version, which means that we return un-versioned TextEdits. If the state of
gopls
cache has not synced up with the client, we may edit the wrong code.Possibly related: #34955
The text was updated successfully, but these errors were encountered: