whatisgithub

What is codemirror-lang-n8n-sql?

n8n-io/codemirror-lang-n8n-sql — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2026-01-06

6TypeScriptAudience · developerComplexity · 2/5QuietSetup · moderate

In one sentence

An archived CodeMirror 6 language plugin that adds syntax highlighting and suggestions for SQL mixed with n8n expressions inside a code editor.

Mindmap

mindmap
  root((repo))
    What it does
      SQL plus n8n syntax
      Editor highlighting
      Now archived
    Tech stack
      TypeScript
      CodeMirror 6
    Use cases
      Write SQL in n8n
      Highlight expressions
      Catch syntax errors
    Audience
      n8n workflow builders
      Developers
      Editor integrators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Get SQL syntax highlighting that also understands n8n expressions while writing workflow queries.

USE CASE 2

Catch SQL and expression errors as you type in an n8n-aware editor.

USE CASE 3

Reference the code as an example of extending CodeMirror's SQL language support.

What is it built with?

TypeScriptCodeMirror 6

How does it compare?

n8n-io/codemirror-lang-n8n-sqlatomicstrata/atomicmemoryazerdsq131/mcpm
Stars666
LanguageTypeScriptTypeScriptTypeScript
Last pushed2026-01-06
MaintenanceQuiet
Setup difficultymoderatemoderateeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Archived and read-only, maintained version has moved into n8n's main monorepo.

No license information was found in the explanation.

So what is it?

This repository provides a code editor plugin that adds support for writing SQL queries with n8n expressions mixed in. It's built on CodeMirror 6, which is a popular JavaScript library that powers code editors in web applications. If you're using n8n, a workflow automation tool, you may need to write SQL queries as part of your automation. This plugin lets you write those queries in a code editor that understands both standard SQL syntax and n8n's special expression language, so it can highlight keywords correctly, offer helpful suggestions, and catch errors as you type. The plugin was created by extending CodeMirror's existing SQL language support to recognize n8n-specific syntax alongside regular SQL. This means when you're building a workflow that queries a database, the editor helps you write cleaner, more reliable code by understanding both languages at once instead of just treating everything as plain text. Important note: this repository is now archived and read-only. The actual, maintained version has been moved into n8n's main codebase as part of their larger monorepo. If you're looking to use or contribute to this project, you'll want to find it in the main n8n repository instead of this standalone version.

Copy-paste prompts

Prompt 1
Explain how this codemirror-lang-n8n-sql plugin extends CodeMirror's SQL support for n8n expressions.
Prompt 2
This repo is archived, help me find where this functionality lives in the main n8n monorepo now.
Prompt 3
Show me how a CodeMirror language extension like this one is structured and parses mixed syntax.

Frequently asked questions

What is codemirror-lang-n8n-sql?

An archived CodeMirror 6 language plugin that adds syntax highlighting and suggestions for SQL mixed with n8n expressions inside a code editor.

What language is codemirror-lang-n8n-sql written in?

Mainly TypeScript. The stack also includes TypeScript, CodeMirror 6.

Is codemirror-lang-n8n-sql actively maintained?

Quiet — no commits in 6-12 months (last push 2026-01-06).

What license does codemirror-lang-n8n-sql use?

No license information was found in the explanation.

How hard is codemirror-lang-n8n-sql to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is codemirror-lang-n8n-sql for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.