VS Code Extensions
SurrealQL Validate

SurrealQL Validate

by hexzii

Unofficial SurrealQL VS Code extension fork adding validation features for SurrealDB's SQL-like language.

Downloads

37

Rating

— (0)

Version

0.4.1

Last updated

Apr 07, 2026

An unofficial fork of the SurrealQL VSCode extension with validation features added.


SurrealQL is the SQL-like language used by SurrealDB. This repository holds its grammar definition, implementing the textmate-grammar specification.

Getting started

The grammar is mainly written for the Visual Studio Code editor. It is easiest to change the grammar there and to debug it.

To get started:

  • Clone this repository (https://github.com/surrealdb/surrealql-grammar)
  • Open the cloned folder in VScode
  • Open the debug panel from the left sidebar
  • In the middle top of the opened pane, open the (green) start button
  • A new window should pop up. Open a SurrealQL file to edit it and see the grammar in action.

Credits

This grammar was originally inspired by Mathe42's work. You can find his work here on GitHub.