pascal-language-server
pascal-language-server copied to clipboard
LSP server implementation for Pascal
See: ``` // TODO: how do we know which one is active given the current parameters? Result.activeSignature := 0; ```
Should get some kind of information like the version or links etc...
in ST you can do `"disabled_capabilities": {"codeLensProvider": true}` but we can't support this yet because we don't respect client capabilities at all.
Currently Sublime Text doesn't send document scopes so this would be expected to generate hints for all parameters in the entire file every time it was updated. That's probably not...
From Michael: > The send method seems OK, but IMO it conflicts with the main loop logic since it > sends directly to stdout. e.g. In case of threading, this...
If we get invalid pairs returned then don't show any results If paras are on different lines it attempts to find keywords and gives a bad result.
A good place to start: https://github.com/sublimelsp/LSP-OmniSharp
We need to actually get the code range and send that instead of the entire document which messes up the cursor.
Currently we discard all errors on save, even if syntax check still fails. We need to check syntax again on save and update accordingly.
Now go to implementation will jump to the declaration if you use it on a function call within a code block. Internally it uses `CodeToolBoss.JumpToMethod` which only works on declarations...