Keyboard Shortcuts
What This Chapter Covers
This chapter lists the keyboard and mouse actions that work in PAIO, by screen area, including the keys that behave differently by situation. Area names follow 19. Glossary; the layout is in 05. UI Layout and Navigation.
- On macOS, read
CtrlasCmd. - Keys not in these tables are not registered. Text areas follow the browser defaults.
- Some keys are accelerators of the hidden native menu (
Ctrl+O,Ctrl+Shift+N,Ctrl+S,F11). The rest, including the zoom keys, are handled by the application and each editor in their own area. See 05.1.1.
18.1 Global
These keys work on any screen in the application.
| Shortcut | Action | Notes |
|---|---|---|
Ctrl+O | Open Project... | An accelerator registered by the native menu. The folder you pick becomes the window's project. It behaves differently inside the System editor canvas and the Markdown editor (see 18.11) |
Ctrl+Shift+N | New Window | An accelerator registered by the native menu. Opens a second PAIO window with no project open |
Ctrl+S | Save the active editor | Each editable editor handles this itself. A Ctrl+S that no editor handles saves through the same path as the menu Save |
Ctrl+Shift+S | Save the active editor | Works the same as Ctrl+S. There is no Save As |
Ctrl+Z | Undo | Each editable editor handles this itself and reverts the single edit history that the project has. On a non-editable tab the physical key does nothing (see 18.11) |
Ctrl+Y | Redo | The System and VFB canvases, the configuration dialogs, and the DataType editor also accept Ctrl+Shift+Z for the same action |
Ctrl+X / Ctrl+C / Ctrl+V | Cut / Copy / Paste | These target text input. The EDIT menu items run the browser clipboard commands |
Ctrl+A | Select all | This targets text input. The Explorer, the System editor canvas, and the VFB canvas have their own behavior |
Ctrl+B | Toggle the sidebar | Shows or hides the sidebar view chosen in the left icon bar (the EDITOR view, the Explorer, and so on). The code editor registers the same key as Build |
Ctrl+` | Toggle the terminal panel | If no terminal exists, one is created |
Ctrl+J | Toggle the terminal panel | The menu label reads Toggle Panel, but the actual target is the terminal |
Ctrl+Shift+P | Open or close the command palette | |
Ctrl+Shift+F | Open the Search view | Works even while the terminal has focus. Does nothing while a modal dialog covers the window |
F4 / Shift+F4 | Go to the next / previous search result | Works only while the Search view holds results and no editor or dialog has taken the key |
Ctrl+T | Open the Meta Class search | Finds where an AUTOSAR meta class is designed (05.10). Not while a modal dialog is open. In the Markdown editor and on the Doc start page it opens a new document instead (see 18.7, 18.11) |
Ctrl+= / Ctrl+- / Ctrl+0 | Zoom in / Zoom out / Reset zoom | Ctrl++ and the numeric keypad +, -, and 0 with Ctrl work as well. The keys, the menu items, and the command palette change the zoom level in the same way, and the level is kept for the next launch on the same machine |
F11 | Toggle full screen | An accelerator registered by the native menu |
Alt+F4 | Close the window | The OS handles this window close; it is not a key the application registers. If there are unsaved changes, the save confirmation appears first |
New Project... has no shortcut. Start it from the New Project button on the Welcome tab or from the PROJECT menu.
18.1.1 Key Whose Menu Label Differs From Its Behavior
The following key is written in the menu, but pressing it does something other than the menu item.
| Shortcut | Menu label | Actual behavior |
|---|---|---|
Ctrl+J | Toggle Panel | Clicking the menu item toggles the Utility panel, but pressing the key toggles the terminal panel. There is no shortcut that opens the Utility panel |
18.2 Graphical Editors (System · VFB)
The System editor (tab <project>:System) and the VFB editor receive the same keys, but the range in which they actually work differs. In the table below, "does nothing" means that pressing the key has no effect at all. In that case the browser's default behavior is blocked as well.
18.2.1 Keyboard
| Shortcut | System | VFB |
|---|---|---|
Ctrl+S / Ctrl+Shift+S | Save | Save |
Ctrl+Z | Undo | Undo |
Ctrl+Y / Ctrl+Shift+Z | Redo | Redo |
Esc | Clear the selection | Clear the selection |
Delete / Backspace | Delete the selected nodes after a confirmation. A connection is not deleted with this key; remove it from its own context menu | Delete the selection, the same as Delete in the context menu. A connection is removed by deleting its connector |
Ctrl+A | Select all | Select all nodes at the current drill-down level |
| Arrow keys | Move the selected items by 1 px | Does nothing |
Shift + arrow keys | Move the selected items by 20 px (one grid cell) | Does nothing |
Ctrl+O | Open a file selection dialog and load the chosen IVC model file into the current System editor | Does nothing |
Ctrl+C / Ctrl+V / Ctrl+X | Does nothing (copying and pasting nodes is not provided) | Same |
The canvas handles Ctrl+S, Ctrl+Shift+S, Ctrl+O, Ctrl+Z, and Ctrl+Y even when a field in the properties panel has focus. The undo and redo keys remove focus from the field first, so the value you were typing is committed as one operation and then reverted. The other keys (Delete, Ctrl+A, the arrow keys, and so on) are ignored while a field has focus.
Even when you move several nodes at once with the arrow keys, undo reverts them in one step.
If you press Esc while dragging a waypoint, the drag is canceled and the path returns to its original shape instead of the selection being cleared. No operation is recorded in the edit history in that case.
Ctrl+Oin the System editor does not open a project. When the System editor canvas has focus, a dialog for selecting an IVC model file opens, and the file you choose is loaded into the current System editor.
18.2.2 Mouse
Mouse operations on the canvas are as follows.
| Operation | Action |
|---|---|
| Left-drag on empty space | Pan the view |
Ctrl + left-drag on empty space | Rectangle selection. The nodes the rectangle fully encloses become the selection, replacing the previous one |
| Middle-button drag | Pan the view |
Space + left-drag | Pan the view |
| Wheel (no modifier) | Pan vertically (behaves like scrolling a document) |
Shift + wheel | Pan horizontally |
Ctrl + wheel | Zoom (0.1x to 4.0x, centered on the cursor) |
Shift + drag | Connection mode |
Ctrl + click | Multi-select (toggle) |
| Double-click | Per-node configuration dialog / composition drill-down |
| Right-click | Context menu |
18.3 Configuration Dialogs
These keys apply to the node, cluster, and switch configuration dialogs and the Partial Network (PNC) Configuration dialog of the System editor, and to the VFB Machine Configuration, ECU Configuration, SWC Internal Behavior, AA Internal Behavior, Intrusion Detection System, and Software Cluster dialogs.
| Shortcut | Action |
|---|---|
Ctrl+S / Ctrl+Shift+S | Save |
Ctrl+Z | Undo inside the dialog |
Ctrl+Y / Ctrl+Shift+Z | Redo inside the dialog |
Esc | Closes the innermost open UI, or the dialog itself if nothing else is open |
Esc first closes a transient UI such as a dropdown, a popup menu or an inline editor; press it again to close the dialog. With unsaved changes, the Do you want to save the changes? confirmation appears first, and you choose among Save, Don't Save, and Cancel.
The scope of
Ctrl+Zdiffers from dialog to dialog.
- The VFB Machine Configuration, ECU Configuration, SWC Internal Behavior, AA Internal Behavior, Intrusion Detection System, and Software Cluster dialogs and the System editor's Partial Network (PNC) Configuration dialog fall through to the project edit history once the internal history is empty.
Ctrl+Zworks even right after a save, when the internal history has been cleared.- The System editor's cluster configuration dialog falls through only on its cluster tab, whose edits go straight into the project edit history.
- The System editor's node and switch configuration dialogs do not fall through. When the internal history is empty,
Ctrl+Zdoes nothing. A key these dialogs consume is not passed outward either, so to revert an earlier edit, close the dialog first and then undo.
The internal history of a configuration dialog keeps up to 50 steps, in both the System editor and VFB.
18.4 Table-Based Model Editors
The six Signal, Interface, DataType, Diagnostic, Module Definition, and Module Configuration editors are built from lists and a properties panel rather than a canvas. Interface, DataType, and Diagnostic open from DESIGN in the EDITOR view, Module Definition and Module Configuration from MODULE › Definition and Configuration, and Signal only from the Signal icon at the left edge of the System editor canvas. All six share the save, undo, and redo keys.
| Shortcut | Action |
|---|---|
Ctrl+S / Ctrl+Shift+S | Save |
Ctrl+Z | Undo (project edit history) |
Ctrl+Y | Redo. The DataType editor also accepts Ctrl+Shift+Z |
The undo and redo keys commit the value you were typing as one operation and then revert it. As a result the whole field edit is reverted, and the browser's character-by-character undo does not interfere.
Each editor adds the following keys.
| Editor | Shortcut | Action |
|---|---|---|
| Interface | Delete / Backspace | Deletes the selected interface after a confirmation |
| Module Definition | Delete / Backspace | Deletes the selected definition node after a confirmation (module nodes excluded) |
| Module Configuration | Delete / Backspace | Deletes every selected container instance after a confirmation |
| Module Configuration | Ctrl+D | Duplicates the selected container instance |
| Module Configuration | F2 | Moves focus to the first field (Name) in the properties panel and selects its value |
The Delete keys are ignored while a field, a text area, or a combo box has focus.
In a list you can move between rows with ArrowUp and ArrowDown. The type list and unit list in DataType, the interface list in Interface, and the frame list and signals grid in Signal all use this behavior.
The reach of these keys splits into two cases. DataType receives keys from the whole window while that editor is visible, and the other five require focus inside the editor area. A Ctrl+S pressed while focus is outside the editor area still saves the active editor through the menu Save path.
18.5 Code Editor (C / C++ / Rust)
The keys used in the code editor are as follows.
| Shortcut | Action |
|---|---|
Ctrl+S | Save |
Ctrl+B | Build |
Ctrl+F5 | Build & Run |
Shift+Alt+F | Format Document |
Alt+O | Switch Header/Source (.c ↔ .h, .cpp ↔ .hpp, and so on) |
F12 | Go to definition, the same as Ctrl + click |
Ctrl + click | Go to definition. Without a language server, only a quoted #include "..." opens, and only when the header exists at that path relative to the current file's folder |
Other editing shortcuts follow the Monaco defaults. For the build flow in detail, see 16. Code Editing, Build, Terminal and Documents.
18.6 XML / ARXML Editor
The keys used in the XML / ARXML editor are as follows.
| Shortcut | Action |
|---|---|
Ctrl+S | Save |
Ctrl+Z / Ctrl+Y | Undo / Redo (Monaco's own history) |
Shift+Alt+F | Format XML |
Ctrl+S and the undo and redo keys work only in edit mode. A file opens in view mode by default, so click the eye icon at the left of the toolbar first to switch to edit mode. In view mode the save, undo, redo, and format buttons on the toolbar are disabled as well.
PAIO's own documents (*.io.model, *.io.workflow, *.io.prj, *.vfb.layout), such as the design files you open from the Explorer, are shown read-only in this editor. They cannot be switched to edit mode, so these keys do nothing there. Edit a design in its design editor instead.
For a .dbc file the format button is hidden, but the Shift+Alt+F key still works: in edit mode it runs the XML formatting function.
In edit mode, typing < suggests the child elements that the AUTOSAR schema allows, through autocompletion.
18.7 Markdown Editor
The keys used in the Markdown editor are as follows.
| Shortcut | Action |
|---|---|
Ctrl+S | Saves the document. If it has never been saved, the save location dialog appears |
Ctrl+T | Opens a new document (if you are already editing one, it opens in a separate tab) |
Ctrl+O | Opens a Markdown file selection dialog and opens the file you choose in a separate tab |
These three keys work only while the Markdown editor is visible. Ctrl+T opens a new document only while the focus is in the Markdown editor or on the Doc start page; anywhere else it opens the Meta Class search (18.1).
The tooltips on the bold and italic buttons read Bold (Ctrl+B) and Italic (Ctrl+I), but those keys do not work in this editor. Apply formatting with the toolbar buttons. The toolbar has six of them: B, I, S (strikethrough), H (heading), <> (inline code), and - (bullet list).
18.8 Explorer
The Explorer opens from the Explorer icon at the bottom of the icon bar on the far left. It lists the project folder's own contents, with no project row above them. Mouse operations in the Explorer are as follows.
| Operation | Action |
|---|---|
| Click | Select |
Ctrl + click | Multi-select (toggle) |
Shift + click | Range select |
| Double-click | Opens the file in the editor that fits its file type. A design file (*.io.model) opens read-only (see 18.6); open the design editors from the EDITOR view instead |
| Right-click | Context menu |
| Click the arrow (chevron) | Expand / collapse |
| Drag | Move. Only file and folder nodes can be dragged |
The keys used while a node has focus are as follows.
| Shortcut | Action |
|---|---|
Enter / Space | Expands or collapses the node if it has children, otherwise opens it in an editor |
ArrowRight | Expands a collapsed node |
ArrowLeft | Collapses an expanded node |
Delete | Deletes the selected file or folder (a confirmation dialog appears) |
Ctrl+C | Copy |
Ctrl+X | Cut |
Ctrl+V | Paste |
Ctrl+A | Selects the focused folder and its expanded contents (for a file, the expanded contents of the folder that holds it). Works only inside the doc, code, and export folders; elsewhere the selection does not change |
Delete does not work on the fixed folders (code, design, doc, export, workflow), so that a fixed folder is not removed by mistake.
18.9 Tabs
The operations available on editor tabs are as follows.
| Operation | Action |
|---|---|
Click / Enter / Space | Activate the tab |
| Middle-button click | Close the tab |
| Right-click | Close / Close Others / Close Saved / Close All |
| Drag onto the tab bar | Reorder (within the same group) or move between groups |
| Drag onto the right half of the body | Split left and right, then move to the new group |
| Drag onto the left half of the body | Move to that group without splitting |
While the tab context menu is open, move between items with ArrowUp, ArrowDown, Home, and End, run an item with Enter or Space, and close the menu with Esc.
Splitting is supported left and right only. There is no operation that splits top and bottom. Close Others, Close Saved, and Close All in the context menu close the tabs one at a time in the same way as Close, so a tab with unsaved changes asks whether to save first (see 05.3.3).
18.10 Command Palette
The keys used in the command palette are as follows.
| Shortcut | Action |
|---|---|
Ctrl+Shift+P | Open / close |
ArrowDown / ArrowUp | Move between items |
Tab / Shift+Tab | Move between items |
Enter | Run the selected command |
Esc | Close |
The commands registered in the palette are listed in 05.6 Command Palette.
18.11 Conflicts and Pitfalls to Know
This section collects the keys that behave differently depending on the screen area.
| Key | Behavior by situation |
|---|---|
Ctrl+B | In the code editor it is registered as Build. Elsewhere it toggles the sidebar |
Ctrl+O | Default → Open Project... / System editor canvas → load an IVC model file / VFB canvas → nothing / Markdown editor → open a Markdown file |
Ctrl+J | The menu item toggles the Utility panel, but the key actually toggles the terminal panel |
Ctrl+T | Default → open the Meta Class search / focus in the Markdown editor or on the Doc start page → a new document / a modal dialog open → nothing |
Ctrl+A | Text input → select all / Explorer → the expanded contents of a folder inside doc, code, or export / System editor canvas → select all / VFB canvas → select all at the current drill-down level |
Delete | Explorer → delete files and folders / System editor canvas → delete the selected nodes (connections excluded) / VFB canvas → delete the selection / Interface, Module Definition, Module Configuration → delete the selected items. Every case asks for confirmation first |
Esc | An open dropdown or menu → close it / nothing open → close the dialog / on a canvas → clear the selection (cancel the drag if a waypoint is being dragged) |
Ctrl+Z | Editable editor → project edit history / configuration dialog → the dialog's internal history first (see 18.3) / code and XML editors → Monaco's own history / image and text viewers, read-only documents → nothing |
Model edits collect into one project history, but the physical Ctrl+Z is handled by each editor. On a tab with no edit history, such as the image viewer, the key does nothing. Use EDIT › Undo or Undo in the command palette instead: it reverts the most recent model edit from any tab and moves the view to that edit's editor. The EDIT menu shows the name of the operation to be reverted, and the History tab of the Utility panel shows the full list (see 05.4.1).
18.12 Search View
These keys work in the Search view and in a Search Editor tab (05.8, 05.9). Ctrl+Shift+F and F4 / Shift+F4 are listed in 18.1.
In the search box:
| Shortcut | Action | Notes |
|---|---|---|
Enter | Search now | Also records the query in the search history |
Escape | Clear the search box | Search view only, and only when the box holds text |
Ctrl+Down | Move into the results | Search view only |
ArrowUp / ArrowDown | Walk through earlier queries of this project | While the suggestion list is open, the arrows move through the list and Enter searches the picked query |
In the results of the Search view:
| Shortcut | Action | Notes |
|---|---|---|
ArrowUp / ArrowDown | Move to the previous / next row | ArrowUp on the first row returns to the search box |
Home / End | Move to the first / last row | |
ArrowRight / ArrowLeft | Expand / collapse a group | ArrowRight on an expanded group moves to its first row; ArrowLeft on a row inside a group moves to the group |
Enter / Space | Open the result, the same as a click | A group row that opens nothing expands or collapses. Result rows of a Search Editor tab take these keys too |
18.13 AI Workflow
Keys of the AI Workflow (21).
| Shortcut | Action | Notes |
|---|---|---|
Ctrl+S | Save the workflow document | Creates workflow/WORKFLOW.io.workflow on the first save |
Ctrl+Z | Undo | Not while the focus is in a text field (the field undoes the typing) |
Ctrl+Y / Ctrl+Shift+Z | Redo | As Ctrl+Z |
Delete / Backspace | Delete the selected nodes, notes or connection | The canvas must have focus |
Shift+click | Add a node to or remove it from the selection | |
Ctrl+wheel | Zoom at the pointer | |
Wheel / Shift+wheel | Pan vertically / horizontally | Dragging the empty canvas also pans |
18.14 Meta Class Search
Keys of the Meta Class search box (05.10). Ctrl+T itself is listed in 18.1.
| Shortcut | Action | Notes |
|---|---|---|
ArrowDown / ArrowUp | Move the selection | The pointer only moves the highlight |
Enter | Open the selected line | The same as a click |
Escape | Close the box | A click outside the box closes it too |
Ctrl+T | Put the caret back in the search box | While the box is open |