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 2
- Win 1
- Mac 0
- Linux 1
| Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 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.