Early syntax highlighting, snippets, and validation for the minimal Strata specification. Install this extension to get .strata files recognized in Visual Studio Code while we iterate on the Strata database orchestration toolchain.
Features
Associates the .strata extension with the Strata language mode
Highlights the minimal Strata keywords (provider, connection, schema, init, etc.) and ${ENV} placeholders
Bundles ready-to-use snippets for the minimal spec and a Postgres connection block
Validates .strata files against the lightweight JSON Schema
Ships with simplified sample specifications for Postgres and Supabase plus placeholder icons so Strata assets are easy to spot in the explorer
Getting Started
Install the extension from the Marketplace: StrataTeam.strata
Create a file ending in .strata
Type strata-minimal and trigger snippet completion to scaffold a valid document
Reference the example specifications under examples/ for Postgres and Supabase workflows
Validation
The extension ships with a JSON Schema (schema/strata.schema.json) that validates the minimal keys (version, provider, connection, schema, ...). Validation runs automatically when editing .strata files. Unknown keys generate warnings but are otherwise ignored so you can extend the format locally.
Snippets
Prefix
Description
strata-minimal
Inserts the minimal Strata scaffold
strata-postgres
Swaps in a Postgres connection block
Roadmap
Language server with hover documentation and completions derived from the spec
strata init CLI integration for provisioning engines like Supabase and Postgres
Optional sections (privacy, automation, tests) once the CLI supports them
Richer icons and screenshots for the Marketplace listing
Requirements
Visual Studio Code 1.80.0 or later
Release Notes
0.1.1
Simplified the Strata specification, samples, snippets, and schema to focus on provider/connection/migrations
0.1.0
Added JSON schema validation, specification docs, samples, and Strata-specific snippets