Skip to content
/ vs-aql Public

ArangoDB AQL Syntax Highlight & Snippets for ArangoJS Driver

License

Notifications You must be signed in to change notification settings

Tnifey/vs-aql

Repository files navigation

vs-aql is prototype of language extension for aql from ArangoDB with basic support of aql tag, .aql files syntax highlight and snippets

should work with .aql, .js, .jsx, .ts, .tsx files

.aql highlights .aql files

typescript template literal highlights typescript template literal with //aql comment

Features

  • basic support for syntax hightlight
  • snippets for functions
  • works with ArangoJS aql tagged template literal

Release Notes

0.0.2

👍

  • template literal without aql tag works with comment //aql
aql`
for user in Users
  limit 1
...
notAnAqlTag`//aql    <-- note for comment
for user in Users
  limit 1
...
  • ternery operator
  • basic function highlight
  • @variable highlight

👎

  • aql tag not working properly - use comment //aql instead
  • drop .vue support

0.0.1

👍

Basic support for basic things.

  • basic syntax hightlight
  • snippets
  • aql tag support
  • aql tag supports inline ${javascript + expressions}

👎

  • aql.literal() won't work properly
  • regular expressions won't syntax highlight

License

MIT