Skip to content
language-server-protocol implementation for openVALIDATION
TypeScript JavaScript
Branch: master
Clone or download
Latest commit 31e86d1 Oct 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Refactored linting, autocompletion, syntax-highlighting and formatting ( Oct 1, 2019
src
test Refactored linting, autocompletion, syntax-highlighting and formatting ( Oct 1, 2019
.gitignore initial commit Sep 12, 2019
.npmignore initial commit Sep 12, 2019
LICENSE Initial commit Sep 12, 2019
README.md Fixed typo in readme Oct 1, 2019
jest.config.js initial commit Sep 12, 2019
package-lock.json Refactored linting, autocompletion, syntax-highlighting and formatting ( Oct 1, 2019
package.json Refactored linting, autocompletion, syntax-highlighting and formatting ( Oct 1, 2019
tsconfig.json
yarn.lock updated yarn.lock Sep 12, 2019

README.md

openVALIDATION Language Server

npm version

This repository is under heavy development.

This is a language-server implementation of the domain-specific-language openVALIDATION.

Implemented features of the protocol

  • Jump to declaration
  • Find references
  • Highlight occurrences
  • Code completion
  • Diagnostics reporting
  • Documentation on hover
  • Rename symbol
  • Folding
  • Formatting

Additional features

In addition to the features of the lsp, we provide the following openVALIDATION-specific features.

  • Syntax-Highlighting
  • Generated Code
  • Language-Specific-Definitions

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/schemaChanged, textDocument/cultureChanged and textDocument/languageChanged. The possible values of these parameters can be seen under the openVALIDATION-documentation.

Getting started

Installing

npm install ov-language-server

Run the language server

node .\node_modules\ov-language-server\lib\server.js

Connect to the language server

You can connect to the language server with the url localhost:3000 for example with the monaco-languageclient.

Clients

The language server is currently not used in a specific client. But stay tuned, we will provide an extension for several editors soon!

You can’t perform that action at this time.