Keyboard Shortcuts
Editor
| Shortcut | Action |
|---|---|
Ctrl+S | Save current file |
Ctrl+Z | Undo |
Ctrl+Shift+Z | Redo |
Ctrl+/ | Toggle line comment |
Ctrl+D | Select next occurrence |
Ctrl+F | Find |
Ctrl+H | Find and replace |
Ctrl+G | Go to line |
Ctrl+Shift+K | Delete line |
Alt+Up/Down | Move line up/down |
Ctrl+Shift+Up/Down | Copy line up/down |
Tab | Indent / accept autocomplete |
Shift+Tab | Outdent |
Layout
| Shortcut | Action |
|---|---|
Ctrl+B | Toggle primary sidebar |
Ctrl+Shift+B | Toggle secondary sidebar |
Ctrl+J | Toggle output panel |
Ctrl+, | Open settings |
Ctrl+N | New file |
Ctrl+1..Ctrl+9 | Focus editor group by index |
Script Execution
| Shortcut | Action |
|---|---|
| Run button | Execute current script |
| Stop button | Abort running script |
Autocomplete
The editor provides IntelliSense for the Muxit script API:
- Type
connector(to see available device names - Type
await dev.to see properties and actions for a device - Type
log.to see logging methods - Type
script.to see lifecycle properties
Autocomplete is available for all .js files in the scripts/ directory.