Mac app shortcuts

Xcode keyboard shortcuts for Mac

The 37 Xcode shortcuts people reach for most, grouped by task. Keys are shown as macOS prints them: ⌘ Command, ⌥ Option, ⇧ Shift, ⌃ Control.

On most Mac keyboards F-keys need Fn unless “Use F1, F2, etc. keys as standard function keys” is on.

Updated

Build and run

Build and run⌘R
Build⌘B
Stop⌘.
Run tests⌘U
Profile in Instruments⌘I
Open the scheme menu⌃0
Open the run destination menu⌃⇧0

Find and navigate

Open Quickly⇧⌘O
Find in the file⌘F
Find and replace in the file⌥⌘F
Find in the whole project⇧⌘F
Open the Library⇧⌘L
New editor tab⌘T

Editing

Comment or uncomment lines⌘/
Indent right⌘]
Indent left⌘[
Move line up⌥⌘[
Move line down⌥⌘]
Show code completion⌃Space
Next placeholderTab
Previous placeholder⇧Tab
Add a cursor on the line above (column select)⌃⇧↑
Add a cursor on the line below (column select)⌃⇧↓

Debugging

Add a breakpoint on the current line⌘\
Turn breakpoints on or off⌘Y
Pause or continue⌃⌘Y
Step overF6
Step intoF7
Step outF8
Show or hide the debug area⇧⌘Y
Clear the console⌘K

Previews, AI and settings

Show or hide the preview canvas⌥⌘Return
Resume the preview⌥⌘P
Open the Coding Assistant⌘0
Show coding tools in the editor⌥⌘0
Show the Quick Help inspector⌥⌘3
Open Xcode settings⌘,

Checked against Apple’s documentation (Xcode 26 — menu commands checked against Xcode’s own menus on 6 October 2026; editor keys from Apple’s developer documentation): developer.apple.com/documentation/xcode/finding-and-ref…, developer.apple.com/documentation/xcode/fixing-issues-i…, developer.apple.com/documentation/xcode/editing-source-…, developer.apple.com/documentation/xcode/analyzing-the-p…, developer.apple.com/documentation/xcode/writing-code-wi…, developer.apple.com/documentation/xcode/using-coding-in…, developer.apple.com/documentation/xcode/writing-symbol-…, developer.apple.com/documentation/xcode-release-notes/x…, developer.apple.com/documentation/xcode-release-notes/x…, developer.apple.com/tutorials/app-dev-training/decoding…, developer.apple.com/tutorials/app-dev-training/using-st…, help.apple.com/xcode/mac/current/, help.apple.com/xcode/mac/current/, help.apple.com/xcode/mac/current/, help.apple.com/xcode/mac/current/, developer.apple.com/library/archive/documentation/IDEs/…. Shortcuts can change between versions and with your own key settings. Spotted a mistake? support@remolo.app.

The same keys on your iPhone

Remolo turns your iPhone into a panel of buttons for your Mac. This set switches on by itself when Xcode is in front, so the keys you use most are one tap away — no reaching across the desk.

  • Run⌘R
  • Stop⌘.
  • Build⌘B
  • Test⌘U
  • Open Quickly⇧⌘O
  • Comment⌘/
  • Breakpoint⌘\
  • Continue⌃⌘Y
  • Step OverF6
  • Step IntoF7
  • Step OutF8
  • Canvas⌥⌘Return

With the next Remolo update you’ll add this set with one tap from this page. Until then, build it in Buttons → Edit, or start from the ready-made profiles in Remolo’s gallery. Button profiles are part of Remolo Pro.

Coming soon to the App Store. Leave your email and we’ll send one message on launch day. It comes with a code for a free month of Remolo Pro. How we keep your address