Skip to content

EdgeDB plugin for Sublime Text, Atom, and VSCode

License

Notifications You must be signed in to change notification settings

edgedb/edgedb-editor-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EdgeDB Editor Plugin Build Status

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.)

Installation Instructions

In Atom and Visual Studio Code install the edgedb package.

In Sublime Text, install the EdgeDB package via "Package Control".

Additional Features

Syntax Injection for Embedded Queries

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 ... 
`;