Skip to content
Tensormorph
Reference
Commands

Commands

Every action in Tensormorph - including ones with no default keyboard shortcut - is backed by a command with a stable identifier. Commands are what a keybinding invokes, what a plugin registers new entries for, and what the command palette (Ctrl+P, > prefix) searches over.

🚧
This page documents the shape of a command entry and a representative set drawn from elsewhere in this documentation; it is not a complete, generated command list.

Anatomy of a command

Every command has:

  • Identifier - a stable, dotted string (workbench.openPalette, diff.toggle) used in keybindings and plugin registrations. Identifiers never change once shipped, even if the user-facing title does.
  • Title - the human-readable label shown in the palette and the Keyboard Shortcuts editor.
  • Default keybinding (optional) - see Keyboard Shortcuts for the confirmed defaults; most commands have none and are invoked from the palette.
  • when availability (optional) - the same context-expression mechanism used for keybinding scoping; a command can be registered but inapplicable (and hidden from the palette) in the current context.

Representative commands

IdentifierTitleScope
workbench.openPaletteShow command paletteGlobal
view.frameSelectionFrame selectionAny 3D/2D view
view.frameModelFrame whole modelAny 3D/2D view
view.isolateSelectionIsolate selectionAny 3D/2D view
view.hideSelectionHide selectionAny 3D/2D view
view.switch3d / view.switch2d / view.switch1dSwitch viewGlobal
diff.toggleToggle diff overlayView with a loaded comparison pair
problems.nextAnomalyJump to next flagged anomalyGlobal
tql.runQueryRun TQL query from ConsoleConsole

Commands from plugins

A plugin can contribute new commands the same way its built-in ones are defined - see Extension API - and a plugin-contributed command is indistinguishable from a built-in one in the palette or the Keyboard Shortcuts editor; both are just entries in the same command registry.

Related resources