Skip to content

Keyboard Shortcuts

Editor

ShortcutAction
Ctrl+SSave current file
Ctrl+ZUndo
Ctrl+Shift+ZRedo
Ctrl+/Toggle line comment
Ctrl+DSelect next occurrence
Ctrl+FFind
Ctrl+HFind and replace
Ctrl+GGo to line
Ctrl+Shift+KDelete line
Alt+Up/DownMove line up/down
Ctrl+Shift+Up/DownCopy line up/down
TabIndent / accept autocomplete
Shift+TabOutdent

Layout

ShortcutAction
Ctrl+BToggle primary sidebar
Ctrl+Shift+BToggle secondary sidebar
Ctrl+JToggle output panel
Alt+ZToggle editor word wrap
Ctrl+,Open settings
Ctrl+NNew file
Ctrl+1..Ctrl+9Focus editor group by index

Script Execution

ShortcutAction
Run buttonExecute current script
Stop buttonAbort running script

IntelliSense

The editor provides context-aware IntelliSense for the Muxit API:

Autocomplete

  • Type connector(" or device(" to see available connector names
  • Type connector("name"). to see properties and actions for a device
  • Type log. to see logging methods (info, warn, error, debug)
  • Type script. to see lifecycle properties (running, name)
  • Type on(" or emit(" to see known event name patterns
  • Type stream(" to see connector names for streaming
  • All sandbox globals (connector, delay, emit, ai, say, timestamp, etc.) appear as top-level suggestions

Hover Documentation

Hover over any sandbox global (connector, delay, ai, log, etc.) to see its signature and description. Hovering over a connector property or action (after connector("name").) shows its type, access level, and documentation.

Signature Help

Type ( after a function name to see parameter hints. Press , to cycle through parameters. Works for all sandbox globals and connector actions with their argument types.

Context Awareness

IntelliSense adapts based on file location:

  • Script files (scripts/*.js): Full script sandbox API including ai(), say(), on(), stream(), script.*
  • Connector configs (connectors/*.js): Connector sandbox API including createTcpTransport(), createSerialTransport()
  • Other .js files: All globals from both contexts

Muxit — Hardware Orchestration Platform