When the Helix text editor begins a conversation with the languagetool-languageserver (made with this library), it first sends this request to the language server
In the original request, the id was of type Number, however, the language server responds with an id of type String, this confuses the text editor due to it expecting Int(0) and not Str("0")
2022-12-12T19:24:33.068 helix_lsp::transport [ERROR] Discarding Language Server response without a request (id=Str("0")) Ok(Object {"capabilities": Object {"codeActionProvider": Bool(true), "executeCommandProvider": Object {"commands": Array [String("langugageTool.acceptSuggestion")]}, "textDocumentSync": Number(1)}})
While debugging, I found that this error is caused by the request alone. When I netcatted this request directly into the language server, in both formatted and minified form, the language server responded with the same incorrect id type.
When the Helix text editor begins a conversation with the languagetool-languageserver (made with this library), it first sends this request to the language server
The language server responds with this
In the original request, the
id
was of typeNumber
, however, the language server responds with anid
of typeString
, this confuses the text editor due to it expectingInt(0)
and notStr("0")
While debugging, I found that this error is caused by the request alone. When I
netcat
ted this request directly into the language server, in both formatted and minified form, the language server responded with the same incorrectid
type.Happy hacking! And thanks in advance for taking my issue into consideration!