x/tools/gopls: incorrect casing for multiple JSON fields after latest update of LSP stubs #55099
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
gopls version
go env
What did you do?
Trying to use prepareRename, but it no longer works, because gopls is returning a non-conforming JSON. Here's the response I got:
What did you expect to see?
placeholder
andrange
should both be lowercase.What did you see instead?
Placeholder
andRange
.Looking at the diff in the latest stub update, I noticed that other fields changed too: golang/tools@9250e22
Specifically with the prepareRename result, this is what it used to be: https://github.com/golang/tools/blob/ec743893cd01c9423aaae4513b092c4c4c06f0f4/gopls/internal/lsp/protocol/tsprotocol.go#L6443-L6446
Here's what it is now: https://github.com/golang/tools/blob/a61f20e1aa172e30522c65973ead5509cecf01c2/gopls/internal/lsp/protocol/tsprotocol.go#L2829-L2832
Editor and settings
N/A
Logs
N/A
The text was updated successfully, but these errors were encountered: