extension/src: sync protocol changes from CL 765240
gopls v0.22.0 does not strictly follow the protocol. The language client
expects a struct from langauge server but gopls v0.22.0 send a slice of
string. Hence, the client will consider the server incapable of handling
interactive commands.
The interactive refactoring E2E is disabled as the vscode-go extension
run test against the last released version of gopls (i.e. gopls
v0.22.0).
As we documented in proposal, we recommend the language client to prompt
questions with invalid / missing answer, the test will throw an error if
the valid question get re-prompt again.
Demo=https://github.com/user-attachments/assets/4f4a0ce8-dd72-4087-8440-5779bb1d3be8
Test=https://github.com/user-attachments/assets/4a9d53ab-6259-49fd-89b6-25eefe39ff1f
gopls CL 784882
For golang/go#76331
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |