Installation
From the Marketplace
The Strata extension is published to the VS Code Marketplace. Search for “Strata” in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X) and click Install.
From source
If you’re developing the extension or want to install a specific version:
cd strata/src/vscode
npm install
npx tsc
npx @vscode/vsce package --no-dependencies --skip-license
code --install-extension strata-*.vsix --force
Requirements
VS Code: 1.90.0 or higher
Strata CLI: The extension runs
stratacommands. Make sure the CLI is available in your$PATHor configure the path in settings.YAML Extension: (Optional) For schema-driven editing, install Red Hat YAML.
Activation
The extension activates automatically when VS Code detects a .strata/solution.json file in the open workspace. If the workspace has no .strata/ directory, the extension remains inactive until you initialize one with strata sln init.
Settings
After installing, configure the CLI path and validation behavior:
Open VS Code settings (
Ctrl+,/Cmd+,)Search for “strata”
Adjust:
strata.cliPath— CLI executable (default:"strata")strata.validateOnSave— Auto-validate on save (default:true)strata.validateOnType— Auto-validate with 1.5s delay (default:false)strata.showFileDecorations— Show badges in file tree (default:true)Other display options
See Settings for the full list.