Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CadabraNew to Visual Studio Code? Get it now.
Cadabra

Cadabra

AbraDB

|
1 install
| (0) | Free
Language support for Cadabra database schema files (.cadabra)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cadabra for VS Code

Language support for Cadabra database schema files (.cadabra).

Features

  • Syntax highlighting for .cadabra files
  • Custom file icon in explorer and tabs
  • Code snippets for all block types
  • Bracket matching, auto-closing, and code folding
  • Comment toggling (# and /* */)

Snippets

Prefix Description
db Database connection block
table Table with id column
column Column definition
columnv Column with varchar type
columnc Column with comment
id Serial primary key
idbig Bigint identity primary key
created created_at timestamp column
updated updated_at timestamp column
index Index definition
fk Foreign key constraint
enum Enum type
check Check constraint

Example

db "postgres" {
  host     = "localhost"
  port     = 5432
  user     = "postgres"
  password = env("DB_PASSWORD")
  name     = "myapp"
}

table "users" {
  column "id" {
    type        = serial
    primary_key = true
  }
  column "email" {
    type     = "varchar(255)"
    not_null = true
    unique   = true
  }
}

Install

Search "Cadabra" in the VS Code extensions marketplace, or:

ext install abradb.cadabra-vscode

Build from Source

Requires Node.js 16+.

# Clone the repo
git clone https://github.com/abradb/cadabra-vscode.git
cd cadabra-vscode

# Install vsce (VS Code Extension CLI)
npm install -g @vscode/vsce

# Package the extension
vsce package

# Install locally (use the generated .vsix filename)
code --install-extension cadabra-vscode-*.vsix

Development

To iterate without re-packaging, symlink the extension into VS Code:

ln -s "$(pwd)" ~/.vscode/extensions/abradb.cadabra-vscode

Reload VS Code (Cmd+Shift+P > "Developer: Reload Window") after making changes.

Links

  • Cadabra CLI
  • Report issues
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft