Mac app shortcuts

Xcode keyboard shortcuts for Mac

The 37 Xcode keyboard shortcuts for Mac that people reach for most, grouped by task. Keys are shown as macOS prints them: ⌘ Command, ⌥ Option, ⇧ Shift, ⌃ Control. The same keys work as buttons in Remolo, a remote desktop app for the Mac made for touch on iPhone and iPad.

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 puts your Mac’s screen on your iPhone and iPad, made for touch: turn the phone on its side and tap the Mac directly, with your own buttons a tap away even in full screen. With Remolo Pro 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. More on controlling your Mac by touch.

  • 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.