This is a package with syntax highlighter for EdgeDB languages: EdgeQL and ESDL (EdgeDB Schema Definition Language). The plugin is designed to work with Sublime Text, Atom and Visual Studio Code.
(The color scheme used in the screenshot is Chromodynamics.)
In Atom and Visual Studio Code install the edgedb
package.
In Sublime Text, install the EdgeDB
package via "Package Control".
If you're working with embedded EdgeQL queries in a JavaScript file, syntax injection via comments is available. Simply include # edgeql
within the backticks to enable highlighting. This will make it easier to spot syntax errors and make your embedded queries more readable.
Example:
const query = `
# edgeql
SELECT ...
`;