ESQL
Syntax highlighting grammar for ES|QL — works with VS Code, IntelliJ, Sublime Text, and other TextMate-compatible editors
Labels language syntax
Details
Installs
- Total 0
- Win 0
- Mac 0
- Linux 0
| Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
esql-syntax
Syntax highlighting for ES|QL (Elasticsearch Query Language) queries in .esql files, distributed as:
- VS Code extension — VS Code Marketplace · Open VSX
- IntelliJ plugin — JetBrains Marketplace
- Sublime Text / TextMate / other editors — Package Control (search for
ES|QL) or downloadesql.tmLanguagefrom syntaxes/
Project layout
syntaxes/
├── esql.tmLanguage.json # Canonical grammar (edit here)
└── esql.tmLanguage # Generated XML — run: npm run build
extensions/
├── vscode/ # VS Code extension
└── intellij/ # IntelliJ plugin wrapper
scripts/
├── validate-grammar.js # Validates alternation ordering
└── json-to-xml.js # Converts grammar JSON → XML plist
samples/
└── example.esql # Sample queries for manual testing
Installation
VS Code
- Search for “Highlight ES|QL” in the VS Code Marketplace or Open VSX.
- Or download the latest
.vsixfrom GitHub Releases and run Extensions: Install from VSIX….
IntelliJ
- Search for “Highlight ES|QL” in Settings > Plugins > Marketplace.
- Or download the latest plugin ZIP from GitHub Releases and use Install Plugin from Disk….
Development
After editing syntaxes/esql.tmLanguage.json, regenerate the XML and commit both files:
npm run build
Contributing
See CONTRIBUTING.md.
License
Apache 2.0 — see LICENSE.