App IDE keyboard shortcuts
Learn about built-in keyboard shortcuts for the App IDE.
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.
Press ? to display a list of available shortcuts at any time. Built-in shortcuts are organized into groups that determine their function.
IDE
Keyboard shortcuts that control the App IDE.
Shortcut | Description |
---|---|
Mod k | Command Palette |
? | Keyboard shortcuts |
Mod B | Toggle sidebar |
Shift Mod A | Toggle add components |
Shift Mod D | Toggle component tree |
Shift Mod E | Toggle code |
Shift Mod F | Toggle code search |
Mod U | Toggle inspector |
ctrl P | Pin and unpin sidebar |
Mod . | Toggle all panels |
Alt Mod Enter | Toggle preview mode |
Shift Mod P | Toggle user mode |
Mod S | Save |
Mod Z | Undo |
Shift Mod Z | Redo |
Shift Mod K | Inspector search |
Canvas
Keyboard shortcuts that control the canvas.
Shortcut | Description |
---|---|
Mod | Show grid |
Shift Mod G | Toggle grid |
Components
Keyboard shortcuts that control components.
Shortcut | Description |
---|---|
Mod / | Toggle hidden components |
Mod + Click | Select multiple |
Mod A | Select all |
Mod + Click | Select without interacting |
Mod C | Copy |
Mod X | Cut |
Mod V | Paste |
Mod D | Duplicate |
↑ → ↓ ← | Move |
Mod ↑ → ↓ ← | Resize |
Alt Shift Mod R | Resize fixed containers to fit |
DEL | Delete |
ESC | Cancel drag or resize |
ESC | Deselect |
Workspace customization
Keyboard shortcuts that customize the overall workspace.
Shortcut | Description |
---|---|
Shift Mod 1 | Canvas in full screen |
Code management
Keyboard shortcuts that manage code tabs.
Shortcut | Description |
---|---|
Shift Mod M | Minimize |
Alt Mod W | Close query tab |
Alt Mod T | Close all query tabs |
Alt Mod S | Close saved query tabs |
Code
Keyboard shortcuts that assist in writing code.
Shortcut | Description |
---|---|
Alt Mod P | Preview |
Mod Enter | Run |
Shift Mod O | Toggle schema and output |
Mod S | Save |
Mod D | Duplicate |
Shift Alt F | Format code |
Mod \ | Open pop-out editor |
ctrl Space | Show autocomplete |
ctrl Alt V | Toggle vim mode |
ctrl ` | Toggle debug tools |
ctrl L | Clear console |
ctrl L | Clear timeline |