Docs / Reference
Keyboard shortcuts
Every shortcut, on Mac and on Windows.
On this page
Most shortcuts are also in the menu bar, next to the command they run. A command that can't do anything at the moment is greyed out there.
Snippets and tabs
| Does | Mac | Windows |
|---|---|---|
| New SnippetAnother Snippet like the one in front: the same Kind, Language and Load Mode. | ⌘T | Ctrl+T |
| Close SnippetOn the Home screen, it closes the window. | ⌘W | Ctrl+W |
| Close Window | ⌘⇧W | Ctrl+Shift+W |
| Show Previous Snippet | ⌘⇧[ | Ctrl+Shift+Tab |
| Show Next Snippet | ⌘⇧] | Ctrl+Tab |
When a tab has keyboard focus, these keys act on the tab strip:
| Does | Mac | Windows |
|---|---|---|
| Open the tab to the left or right | ←→ | ←→ |
| Open the first or last tab | HomeEnd | HomeEnd |
| Move the tab left or right | ⌥←⌥→ | Alt+←Alt+→ |
| Rename the tab | ↵F2 | EnterF2 |
| Close the tab | ⌫⌦ | BackspaceDelete |
| Open the tab’s menu | ⇧F10 | Shift+F10Menu |
Running
| Does | Mac | Windows |
|---|---|---|
| RunWorks wherever the focus is in the window. | ⌘↵ | Ctrl+Enter |
| Stop | ⌘. | Ctrl+. |
| TimelineOpens the Timeline, and closes it again. Node Snippets only. | ⌘⇧↵ | Ctrl+Shift+Enter |
| Clear Console | ⌘K | Ctrl+K |
Timeline
These work while the Timeline is open.
| Does | Mac | Windows |
|---|---|---|
| Previous Step | ⌘← | Ctrl+← |
| Next Step | ⌘→ | Ctrl+→ |
| Play or pause Autoplay | Space | Space |
| Record again | ⌘↵ | Ctrl+Enter |
| Leave the Timeline | Esc | Esc |
Outside the Timeline, ⌘← or Ctrl+← and ⌘→ or Ctrl+→ keep their usual meaning in the editor. In the Timeline, New Snippet, Clear Console and Format Code are greyed out.
Editor
| Does | Mac | Windows |
|---|---|---|
| Format Code | ⇧⌥F | Shift+Alt+F |
| Show suggestions | ⌃Space | Ctrl+Space |
| Find | ⌘F | Ctrl+F |
| Select the next match of the selection | ⌘D | Ctrl+D |
| Go to a line | ⌘⌥G | Ctrl+Alt+G |
| Comment or uncomment the line | ⌘/ | Ctrl+/ |
| Move the line up or down | ⌥↑⌥↓ | Alt+↑Alt+↓ |
| Copy the line up or down | ⇧⌥↑⇧⌥↓ | Shift+Alt+↑Shift+Alt+↓ |
| Delete the line | ⌘⇧K | Ctrl+Shift+K |
| Indent or outdent | Tab⇧Tab | TabShift+Tab |
| Fold or unfold the block | ⌘⌥[⌘⌥] | Ctrl+Shift+[Ctrl+Shift+] |
| Undo | ⌘Z | Ctrl+Z |
| Redo | ⌘⇧Z | Ctrl+Y |
Windows
| Does | Mac | Windows |
|---|---|---|
| Settings… | ⌘, | Ctrl+, |
| Library | ⌘⇧L | Ctrl+Shift+L |
| Search SettingsIn the Settings window. | ⌘F | Ctrl+F |
| Clear a search boxIn Settings, the Library and Packages. | Esc | Esc |
| Move a Starter up or downJSpark+In Settings → Starters. | ⌥↑⌥↓ | Alt+↑Alt+↓ |
Packages has no shortcut: open it from Window → Packages. In Settings, the Library or Packages, ⌘W or Ctrl+W closes that window, not the Snippet behind it.