Keyboard Shortcuts
Common keyboard shortcuts for the strata extension.
Built-in Shortcuts
These are VS Code defaults:
Action |
Windows/Linux |
macOS |
|---|---|---|
Open Command Palette |
|
|
Open Problems panel |
|
|
Open Settings |
|
|
Focus Strata Explorer |
|
|
Go to Definition |
|
|
Hover (Peek Definition) |
|
|
Quick Fix |
|
|
Rename (F2) |
|
|
Extension Commands (via Command Palette)
Press Ctrl+Shift+P and type to search:
strata: validate current → Validate active file
strata: validate all → Workspace validation
strata: build → Build (no dry-run)
strata: build dry-run → Preview build
strata: deploy → Deploy (no dry-run)
strata: deploy dry-run → Preview deploy
strata: show guide → Readiness checklist
strata: switch profile → Quick-pick profile
strata: export schemas → Wire YAML schemas
strata: open console → Interactive REPL
strata: dependency graph → Visualize relationships
strata: init workspace → New strata workspace
Type a few letters and VS Code filters the list — no need to type the full command name.
Custom Keyboard Bindings
To add custom shortcuts, edit .vscode/keybindings.json:
Ctrl+K Ctrl+S(orCmd+K Cmd+Son macOS) to open Keyboard ShortcutsClick the “Open Keyboard Shortcuts (JSON)” icon (top-right)
Add bindings like:
[
{
"key": "ctrl+shift+v",
"command": "strata.validateCurrentFile"
},
{
"key": "ctrl+shift+b",
"command": "strata.buildDryRun"
},
{
"key": "ctrl+shift+d",
"command": "strata.deployDryRun"
},
{
"key": "ctrl+shift+g",
"command": "strata.showGuide"
}
]
Common Workflows
Quick Validate & View Errors
Ctrl+S Save the file (triggers auto-validation)
Ctrl+Shift+M Open Problems panel
Explore Schema While Editing
(cursor on YAML line)
Ctrl+. Show CodeLens quick actions
Click "Schema" Opens schema in side panel
Build & Deploy Workflow
(cursor in deployment file)
Ctrl+. Show CodeLens
Click "Build DryRun" Preview what would be generated
(review terminal output)
Click "Deploy DryRun" Preview what would be deployed
(review terminal output)
Ctrl+Shift+P Command Palette
Type "deploy" Find "Strata: Deploy"
Enter Run deployment
Switch Profile & Refresh
Ctrl+Shift+P Command Palette
Type "switch profile" Find command
Enter Quick-pick profile to activate
Tips
Fast validation: Bind
strata.validateCurrentFileto a single key (e.g.,Ctrl+Alt+V)Quick build: Bind
strata.buildDryRun(e.g.,Ctrl+Alt+B)Quick deploy: Bind
strata.deployDryRun(e.g.,Ctrl+Alt+D)Fast fixes: Learn
Ctrl+.(quick fixes) — works with or without extensionSearch in Command Palette: Type a few letters of any command name