Classic app IDE keyboard shortcuts
Learn about built-in keyboard shortcuts for the classic app IDE.
You're viewing documentation for classic apps, which use Retool's original app editor. The new app builder is the recommended way to build apps and where Retool focuses new development.
Use Retool's built-in keyboard shortcuts to quickly perform certain actions or control the interface. You can also configure custom keyboard shortcuts on a per-app basis that can trigger queries, interact with components, and more.
Global
The following shortcuts are available anywhere within Retool.
| Name | PC | Mac | Description |
|---|---|---|---|
| Command Palette | Ctrl + K | Cmd + K | Open the command palette. |
Components
Shortcuts for working with components.
| Name | PC | Mac | Description |
|---|---|---|---|
| Cancel Drag Or Resize | Escape | Escape | Cancel dragging or resizing a component. |
| Copy | Ctrl + C | Cmd + C | Copy selected components. |
| Cut | Ctrl + X | Cmd + X | Cut selected components. |
| Delete | Delete | Delete | Delete selected components. |
| Deselect | Escape | Escape | Deselect selected components. |
| Duplicate | Ctrl + D | Cmd + D | Duplicate selected components. |
| Move | Cursor keys | Cursor keys | Move selected components. |
| Paste | Ctrl + V | Cmd + V | Paste copied components. |
| Resize | Ctrl + Cursor key | Cmd + Cursor key | Resize selected components. |
| Resize Fixed Containers To Fit | Alt + Shift + Ctrl + R | Alt + Shift + Cmd + R | Resize fixed containers to fit content. |
| Select All | Ctrl + A | Cmd + A | Select all components. |
| Select Multiple | Ctrl + Click | Cmd + Click | Select multiple components. |
| Select Without Interacting | Ctrl + Click | Cmd + Click | Select components without interacting. |
| Toggle Hidden Components | Ctrl + / | Cmd + / | Toggle visibility of hidden components. |
General
Shortcuts available throughout the app IDE.
| Name | PC | Mac | Description |
|---|---|---|---|
| Inspector Search | Shift + Ctrl + K | Shift + Cmd + K | Inspector search. |
| Keyboard Shortcuts | Shift + / | Shift + Cmd + / | Show keyboard shortcuts. |
| Pin Sidebar | Ctrl + P | Cmd + P | Pin or unpin the sidebar. |
| Redo | Shift + Ctrl + Z | Shift + Cmd + Z | Redo. |
| Save | Ctrl + S | Cmd + S | Save. |
| Toggle Add Components | Shift + Ctrl + A | Shift + Cmd + A | Show or hide the Add Components panel. |
| Toggle All Panels | Ctrl + . | Cmd + . | Toggle all panels. |
| Toggle Code | Shift + Ctrl + E | Shift + Cmd + E | Toggle the code editor. |
| Toggle Code Search | Shift + Ctrl + F | Shift + Cmd + F | Toggle code search. |
| Toggle Component Tree | Shift + Ctrl + D | Shift + Cmd + D | Toggle the component tree. |
| Toggle Inspector | Ctrl + U | Cmd + U | Toggle the inspector. |
| Toggle Preview Mode | Alt + Ctrl + Enter | Alt + Cmd + Enter | Toggle preview mode. |
| Toggle Sidebar | Ctrl + B | Cmd + B | Toggle the sidebar. |
| Toggle User Mode | Shift + Ctrl + P | Shift + Cmd + P | Toggle user mode. |
| Undo | Ctrl + Z | Cmd + Z | Undo. |
| Toggle Assist | Ctrl + I | Cmd + I | Toggle the Assist panel. |
| Ask Mode | Ctrl + Shift + I | Cmd + Shift + I | Switch Assist to Ask mode. |
| Build Mode | Ctrl + Shift + B | Cmd + Shift + B | Switch Assist to Build mode. |
Canvas
Shortcuts for interacting with the app canvas.
| Name | PC | Mac | Description |
|---|---|---|---|
| Pan Canvas | Space + Drag | Space + Drag | Pan the canvas. |
| Toggle Grid | Shift + Ctrl + G | Shift + Cmd + G | Show or hide the canvas grid. |
| Zoom In | Ctrl + + | Cmd + + | Zoom in on the canvas. |
| Zoom Out | Ctrl + - | Cmd + - | Zoom out on the canvas. |