Shortcuts

Shortcuts work while a Strata SQL editor is active. On Mac use Cmd; on Windows and Linux use Ctrl.

Editor#

ShortcutAction
Cmd/Ctrl + SSave the model and its version log
Cmd/Ctrl + Z, Shift + Cmd/Ctrl + ZUndo, redo
Cmd/Ctrl + 1Auto layout
Cmd/Ctrl + YToggle version history
Cmd/Ctrl + LToggle the navigator
Cmd/Ctrl + FSearch the model
Cmd/Ctrl + .Hide all open panels; press again to bring them back
Cmd/Ctrl + F1The built-in help
EscClose the open dialog, popup or search

Levels#

MacWindows / LinuxSwitches to
Cmd + Option + GCtrl + Alt + GGovernance
Cmd + Option + CCtrl + Alt + CConceptual
Cmd + Option + LCtrl + Alt + LLogical
Cmd + Option + PCtrl + Alt + PPhysical
Cmd + Option + SCtrl + Alt + SSemantic

While the editor has focus, these take the place of two VS Code defaults: Copy Path of Active File and Save All.

Mouse#

GestureAction
Wheel or trackpadPan
Cmd/Ctrl + wheel, pinchZoom
Drag the backgroundPan
Drag a table headerMove the table
Drag a column row onto anotherCreate a relationship
Drag from a concept or entity bodyRelate two concepts or entities
Double-click a card headerEdit the table, concept, entity or metric

Command Palette#

CommandDoes
Strata SQL: New ProjectThe project wizard
Strata SQL: Open Sample ModelCreate the Northwind or FpML sample and open it
Strata SQL: Import from dbt… / Re-sync from dbtdbt import
Strata SQL: Import from DDL… / Re-sync from SQL scriptsSQL import
Strata SQL: Split into Domains / Open Project ViewDomains
Strata SQL: Open Live View in BrowserLive view
Strata SQL: Export Interactive HTMLHTML export
Strata SQL: Export ETL / ELT CodePipeline code