Skip to content

lukashornych/codemirror-lang-evitaql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 test

Publishing

yarn prepare
yarn publish

Adding 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.

About

evitaQL query language support for CodeMirror 6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •