Shortcut Flow

Xcode Keyboard Shortcuts for Mac

122 shortcuts · Updated August 2026

Xcode has hundreds of commands, but a small keyboard core does the daily work: open quickly, build, run, find in project. This list covers 122 shortcuts for Mac.

Xcode

ActionShortcut
Quit Xcode⌘Q
Settings⌘,

File

ActionShortcut
Duplicate⇧⌘S
New File⌘N
New Package⌃⇧⌘N
New Playground⌥⇧⌘N
New Project⇧⌘N
New Window⇧⌘T
New Workspace⌃⌘N
Open⌘O
Open Quickly⇧⌘O
Print⌘P
Save⌘S
Save All⌥⌘S

Edit

ActionShortcut
Copy⌘C
Copy File and Line⌃⌥⌘C
Copy Qualified Symbol Name⌃⌥⇧⌘C
Copy Symbol Name⌃⇧⌘C
Cut⌘X
Move Item Here⌥⌘V
Paste⌘V
Paste and Preserve Formatting⌥⇧⌘V
Redo⇧⌘Z
Select All⌘A
Undo⌘Z

View

ActionShortcut
Activate Console⇧⌘C
Enter Full Screen⌃⌘F
File Inspector⌥⌘1
Filter in Navigator⌥⌘J
Hide Debug Area⇧⌘Y
Hide Toolbar⌥⌘T
History Inspector⌥⌘2
Open Library⌥⇧⌘L
Quick Help Inspector⌥⌘3
Show Bookmarks Navigator⌘3
Show Breakpoints Navigator⌘8
Show Coding Assistant⌘0
Show Debug Navigator⌘7
Show Document Items⌃6
Show Find Navigator⌘4
Show Group Files⌃5
Show Issue Navigator⌘5
Show Library⇧⌘L
Show Next Files History⌃⌘3
Show Next History⌃3
Show Previous Files History⌃⌘2
Show Previous History⌃2
Show Project Navigator⌘1
Show Quick Actions⇧⌘A
Show Related Items⌃1
Show Reports Navigator⌘9
Show Source Control Navigator⌘2
Show Tests Navigator⌘6
Show Top Level Items⌃4

Find

ActionShortcut
Find⌘F
Find and Replace⌥⌘F
Find and Replace in Workspace⌥⇧⌘F
Find and Select Next⌥⌘G
Find and Select Previous⌥⇧⌘G
Find Call Hierarchy⌃⇧⌘H
Find in Workspace⇧⌘F
Find Next⌘G
Find Next in Workspace⌃⌘G
Find Previous⇧⌘G
Find Previous in Workspace⌃⇧⌘G
Find Selected Symbol in Workspace⌃⇧⌘F
Select Next Occurrence⌥⌘E
Select Previous Occurrence⌥⇧⌘E
Use Selection for Find⌘E
Use Selection for Replace⇧⌘E

Navigate

ActionShortcut
Jump to Definition⌃⌘J
Jump to Instruction Pointer⌃⌘P
Jump to Next Issue⌘`
Jump to Previous Issue⇧⌘`
Jump to Selection⌥⌘L
Move Focus to Editor Pane⌘J
Move Focus to Next Area⌥⌘,
Move Focus to Previous Area⌥⇧⌘,
Open in Next Editor Pane⌥⌘;
Reveal in Changes Navigator⇧⌘M
Reveal in Debug Navigator⇧⌘D
Reveal in Project Navigator⇧⌘J

Product

ActionShortcut
Analyze⇧⌘B
Analyze File⌃⇧⌘B
Build⌘B
Build Documentation⌃⇧⌘D
Build for Profiling⇧⌘I
Build for Running⇧⌘R
Build for Testing⇧⌘U
Choose Destination⌃⇧0
Choose Scheme⌃0
Clean Build Folder⇧⌘K
Compile File⌃⌘B
Edit Scheme⌘;
Profile⌘I
Profile Without Building⌃⌘I
Run⌘R
Run Without Building⌃⌘R
Stop⌘.
Test⌘U
Test Without Building⌃⌘U

Debug

ActionShortcut
Clear Console⌘K
Continue To Current Line⌃⌘C
Create Breakpoint at Current Line⌘\
Deactivate Breakpoints⌘Y
Pause⌃⌘Y
Reload Console⌥⌘K
Step IntoF7
Step Into Instruction⌃F7
Step OutF8
Step OverF6
Step Over Instruction⌃F6

Source Control

ActionShortcut
Commit⌥⌘C
Pull⌥⌘X

Window

ActionShortcut
Developer Documentation⇧⌘0
Devices and Simulators⇧⌘2
Downloads⇧⌘9
Minimize⌘M
Organizer⌥⇧⌘O
Welcome to Xcode⇧⌘1

Help

ActionShortcut
Search Documentation for Selected Text⌃⌥⌘'
Show Quick Help for Selected Item⌃⌘/

Stop memorizing lists

Shortcut Flow watches what you actually click in Xcode and turns it into a one-minute daily drill. Think Duolingo, but for keyboard shortcuts.

Join the waitlist

Mac only. No account needed.

FAQ

How many Xcode keyboard shortcuts are there?

This guide lists 122 Xcode shortcuts as they work on macOS, read from the app itself and kept up to date by Shortcut Flow.

What is the fastest way to open a file in Xcode?

Open Quickly (Command-Shift-O) fuzzy-matches file and symbol names, which is almost always faster than the project navigator.

What is the fastest way to learn Xcode shortcuts?

Not by reading the full list. Shortcut Flow watches which commands you actually use in Xcode and drills you on those first, one minute a day, so the shortcuts you need most stick within days.