Syntax higlighting (WIP)
In files with extensions
.surreal and in TS/JS-Files useing tagged-template-literals with tag
surreal you get syntax highlighting!
Also you can add a comment
/* surrealql */ before your template-literal (NOTE: This is a syntax not recomended as formaters / linters could break it!).
const query = surql`
SELECT * FROM t
will have highlighting!
The idea is that libs can define there own handler of that tag. If you are a lib autor of an other langage and there is a similar concept feel free to contact me!
- idiom - for example
- some statement pattern can be added
- some pattern can be detected that are non valid.
- maybe better datetime support
- change some naming internaly
Define comments, brackets, autoClosingPairs, surroundingPairs and folding for surrealql.
List of usefull snippets (currently a single one). Feel free to create PR / issues to add / request snippets.
Language server (WIP)
Integration with language server! (No support yet as the LSP is not written yet)
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!