@lukashornych/codemirror-lang-evitaql
v1.4.1
Published
evitaQL language support for CodeMirror
Readme
evitaQL language support for CodeMirror 6
This repository contains plugin for CodeMirror 6 that adds for evitaQL query language used by evitaDB database.
Development
Testing
yarn testPublishing
yarn prepare
yarn publishAdding new constraints
The constraints support is constructed from the src/constraints.json (contains constraint definition and documentation)
and from the src/syntax.grammar (actual constraints grammar for syntax highlighting and validating).
Firstly, export constraint definition using evitaDB's io.evitadb.documentation.JavaDocCopy#exportConstraintDefinitions
special JUnit test. Replace the src/constraints.json with the generated JSON file.
Then add all new constraints from evitaDB's io.evitadb.api.query.QueryConstraints
into the src/syntax.grammar file.
