Keyboard shortcuts
The keys you can use in the Total.js Code editor.
On this page
On macOS, use Cmd where the table says Ctrl.
Files and panels
| Keys | Action |
F1 | Open the command palette |
F2 | Open Used parts |
F5 | Reload the current file |
F8 | Choose a project |
F9 | Open the chat |
F10 | Open the log file |
F11 | Open the clipboard |
Ctrl+S | Save the file |
Alt+W | Close the current tab |
Search
| Keys | Action |
Ctrl+F | Go to the search box of the file |
Ctrl+Shift+F | Search in all the files of the project |
Editing
| Keys | Action |
Ctrl+D | Select the next match of the selected text |
Ctrl+/ | Comment or uncomment the line |
Alt+Enter | Insert today's date |
Ctrl+B | Run the script, or send the selected request of an .api file |
Command palette
Type these in the palette that F1 opens:
| Text | Action |
:12 | Go to line 12 |
hours 2 | Add two hours to your time |