Raoul Wols
Raoul Wols
I think this is a good idea @jwortmann. I had the same idea about having the server startup info, server initialization options and server settings in separate .sublime-settings files so...
I suppose related: https://github.com/sublimehq/sublime_text/issues/4421
c.f. https://www.jsonrpc.org/specification#response_object > id This member is REQUIRED. It MUST be the same as the value of the id member in the Request Object. If there was an error in...
Hmm, so it says it should be null when it couldn't detect the `id` in the request object. There is an `id` in the request object: ``` {"jsonrpc":"2.0","params":{"workDoneToken":"wd2","options":{"tabSize":4,"trimTrailingWhitespace":false,"trimFinalNewlines":true,"insertSpaces":true,"insertFinalNewline":true},"textDocument":{"uri":"file:///Users/raoulwols/dev/crystal-hello-world/hello_world.cr"}},"method":"textDocument/formatting","id":2} ```
I'm not that well-versed in crystal but it looks like it's supposed to parse the `id` from the request message: https://github.com/crystal-lang-tools/lsp/blob/master/src/lsp/protocol/request_message.cr not sure what's up then. By the way, `id`...
The `xxxx/bar.sh` is interpreted as a URL fragment (my editor ignores/discards fragments), the path is interpreted to be `/home/raoul/foo/`, which confuses my editor.
Sounds like a pull-request ;)
From what I remember, the reason the two protocol classes `SessionViewProtocol` and `SessionBufferProtocol` exist is because they avoid a circular import problem. If the code in `sessions.py` imported one of...
I would suggest not picking a "deadline" until UnitTesting works with PC4 dependencies. There is no control over UnitTesting and we can't guarantee it'll even be fixed before March 9.
This language server should also complete function-calls previously defined with `function() ... endfunction()`.