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
I've been trying to build a plugin to talk to an LSP server written with lspower, and I'm finding it rejects request bodies that don't strictly conform to the LSP spec.
A concrete case (using 0.94.2) is a request for formatting looks like:
As an aside, I tried master-SNAPSHOT and wasn't able to test this specifically because of a similar problem much earlier during the capabilities checks in initialization. codeActionKind was missing from CodeActionClientCapabilities causing the initialization to fail.
Description:
I've been trying to build a plugin to talk to an LSP server written with lspower, and I'm finding it rejects request bodies that don't strictly conform to the LSP spec.
A concrete case (using 0.94.2) is a request for formatting looks like:
to which the LSP server replies:
Per the spec, both
tabSize
andinsertSpaces
are required fields for this payload, but both are missing for some reason.Steps to reproduce:
Affected Versions:
0.94.2
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
The text was updated successfully, but these errors were encountered: