PadCodedocs

Keyboard shortcuts

Every keyboard shortcut in PadCode's Builder, for an iPad with a keyboard: editing, selecting, arranging, Preview, panels and zoom.

With a keyboard attached to your iPad, you can do most things in the Builder without lifting your hands. Many shortcuts are the same as Xcode's, like ⌘R for Preview and ⌘0 for the left panel.

To see them all in PadCode, tap the keyboard button in the Builder's toolbar, next to Undo and Redo, or press ⌘/. In a narrow window, it's also in the ⋯ menu, as Keyboard Shortcuts.

The Keyboard Shortcuts sheet, starting with the Edit shortcuts.

#Where they work

Shortcuts work while the canvas has the keyboard: tap the canvas or select something first. While you type in a field, keys type, so a shortcut never changes your app by accident while you're writing.

The Arrange, App and View shortcuts are also in the Builder menu of iPadOS's menu bar.

The keys: ⌘ is Command, ⌥ is Option, ⇧ is Shift, ⌫ is Delete, esc is Escape.

#Edit

ShortcutKeysWhat it does
Undo⌘ZTakes back your last change. The toolbar's Undo button does the same.
Redo⇧⌘ZPuts back the change you undid. The toolbar's Redo button does the same.
Copy⌘CCopies the selected views.
Cut⌘XCopies the selected views and removes them.
Paste⌘VAdds the copied views, with the variables they're linked to with ⚡︎ or that their steps change. You can paste into another app too.
Duplicate⌘DAdds a copy of the selected views.
Delete⌘⌫Deletes the selected views. Delete on its own doesn't, so a stray key never removes a view.
Select All Beside It⌘ASelects the selected view and every view beside it, in the same container. With nothing selected, it selects every view at the top of the screen.
DeselectescSelects nothing.

#Select

ShortcutKeysWhat it does
Select the View Above↑Selects the view before this one, in the same container.
Select the View Below↓Selects the view after this one, in the same container.
Select What It's In←Selects the container the view is in.
Select What's Inside→Selects the first view inside the selected container.

#Arrange

ShortcutKeysWhat it does
Move Up⌥⌘[Moves the selected view one place up, or left, in its container.
Move Down⌥⌘]Moves the selected view one place down, or right, in its container.
Wrap in Column⌘GPuts the selected view, or the selected views side by side, into a new Column.
Wrap in Row⌥⌘GPuts the selected view, or the selected views side by side, into a new Row.
Unwrap⇧⌘GTakes the views out of the selected container and removes the container.
Save as Component⇧⌘SSaves the selected views to My Components, to use in any app. See My Components.

#App

ShortcutKeysWhat it does
Preview⌘RRuns your app in Preview. In Preview, esc goes back to editing, like Done editing. See Preview.
New Screen⌘NAdds a screen to your app. See Screens.

#View

ShortcutKeysWhat it does
Show or Hide Left Panel⌘0Shows or hides the Library.
Show or Hide Right Panel⌥⌘0Shows or hides the Inspector.
Components⌘1Opens the Library's Components tab.
Layers⌘2Opens the Library's Layers tab.
Screens⌘3Opens the Library's Screens tab.
Assets⌘4Opens the Library's Assets tab.
Data & Logic⌘5Opens the Library's Data & Logic tab.
Style Tab⌥⌘1Opens the Inspector's Style tab.
Actions Tab⌥⌘2Opens the Inspector's Actions tab.
Data Tab⌥⌘3Opens the Inspector's Data tab.
Search Components⇧⌘LOpens the Components tab and puts the cursor in its search field.
Zoom In⌘=Zooms the canvas in a step: 25%, 50%, 75%, 100%, 125%, 150%, 200%, 300%, 400%.
Zoom Out⌘-Zooms the canvas out a step.
Agent Mode⌘ISwaps the Library and Inspector for the AI Agent's chat, beside the canvas, and back. On Free it shows what Pro adds. See The AI Agent.
Next Agent Mode⇧⇥In Agent mode, goes to the agent's next mode: Manual, Auto, then Plan. It works in the message box too.
Keyboard Shortcuts⌘/Shows this list in PadCode.

The Library and Inspector shortcuts show their panel too, if it was hidden, and leave Agent mode.

#See also