openVALIDATION Language Server
This repository is under heavy development.
Implemented features of the protocol
- Jump to declaration
- Find references
- Highlight occurrences
- Code completion
- Diagnostics reporting
- Documentation on hover
- Rename symbol
In addition to the features of the lsp, we provide the following openVALIDATION-specific features.
- Generated Code
Syntax-Highlighting is currently based on a TextMate-Grammar and gets automatically send to the client over the notification-method
textDocument/semanticHighlighting. This only happens, when the grammar changes significantly.
In addition the new generated code gets send to the client over the notification-method
textDocument/generatedCode. This always happens, when code gets written and the parser generated new code.
Last but not least the language-server is able to handle changes of the schema-, culture- and language-parameters.
This can be done by the client by sending notifications over the methods
textDocument/languageChanged. The possible values of these parameters can be seen under the openVALIDATION-documentation.
npm install ov-language-server
Run the language server
Connect to the language server
You can connect to the language server with the url
localhost:3000 for example with the monaco-languageclient.
The language server is currently not used in a specific client. But stay tuned, we will provide an extension for several editors soon!