Xcode Keyboard Shortcuts
Xcode keyboard shortcut reference covering 32 bindings for Mac. Commonly searched bindings include Build, Run, and Open Quickly. 32 of 32 shortcuts are verified against official Xcode documentation, each with a linked source when available. Search by action name, filter by category, look up what a key combination does, print a cheat sheet, or practice with flashcards.
Official Xcode documentation
Debug
| Action | Description | Windows | Mac | Verified | Source |
| Build |
Build the project |
|
Cmd+B |
Yes |
Source |
| Run |
Build and run |
|
Cmd+R |
Yes |
Source |
| Stop |
Stop running |
|
Cmd+. |
Yes |
Source |
| Clean Build |
Clean build folder |
|
Cmd+Shift+K |
Yes |
Source |
| Toggle Breakpoint |
Toggle breakpoint |
|
Cmd+\ |
Yes |
Source |
| Show Debug Area |
Toggle debug area |
|
Cmd+Shift+Y |
Yes |
Source |
| Step Over |
Step over |
|
F6 |
Yes |
Source |
| Step Into |
Step into |
|
F7 |
Yes |
Source |
| Step Out |
Step out |
|
F8 |
Yes |
Source |
Editing
| Action | Description | Windows | Mac | Verified | Source |
| Comment |
Comment selection |
|
Cmd+/ |
Yes |
Source |
| Rename |
Rename symbol |
|
Ctrl+Cmd+E |
Yes |
Source |
File
| Action | Description | Windows | Mac | Verified | Source |
| Save |
Save file |
|
Cmd+S |
Yes |
Source |
| New File |
New file |
|
Cmd+N |
Yes |
Source |
| Save All |
Save all files |
|
Cmd+Option+S |
Yes |
Source |
Formatting
| Action | Description | Windows | Mac | Verified | Source |
| Indent |
Indent selection |
|
Cmd+] |
Yes |
Source |
| Unindent |
Unindent selection |
|
Cmd+[ |
Yes |
Source |
Navigation
| Action | Description | Windows | Mac | Verified | Source |
| Open Quickly |
Open file quickly |
|
Cmd+Shift+O |
Yes |
Source |
| Jump to Definition |
Jump to definition |
|
Cmd+Ctrl+J |
Yes |
Source |
| Documentation |
Quick help |
|
Cmd+Option+? |
Yes |
Source |
Search
| Action | Description | Windows | Mac | Verified | Source |
| Find |
Find in workspace |
|
Cmd+F |
Yes |
Source |
| Find and Replace |
Find and replace |
|
Cmd+Option+F |
Yes |
Source |
View
| Action | Description | Windows | Mac | Verified | Source |
| Show Navigator |
Toggle navigator |
|
Cmd+0 |
Yes |
Source |
| Show Assistant |
Show assistant editor |
|
Cmd+Option+Return |
Yes |
Source |
| Fold |
Fold code |
|
Cmd+Option+Left |
Yes |
Source |
| Unfold |
Unfold code |
|
Cmd+Option+Right |
Yes |
Source |
| Show Library |
Show object library |
|
Cmd+Shift+L |
Yes |
Source |
| Canvas Zoom In |
Zoom canvas in |
|
Cmd+Plus |
Yes |
Source |
| Canvas Zoom Out |
Zoom canvas out |
|
Cmd+Minus |
Yes |
Source |
| Hide Assistant |
Hide assistant editor |
|
Cmd+Return |
Yes |
Source |
Window
| Action | Description | Windows | Mac | Verified | Source |
| Close Tab |
Close current tab |
|
Cmd+W |
Yes |
Source |
| Next Tab |
Next editor tab |
|
Cmd+Shift+] |
Yes |
Source |
| Previous Tab |
Previous editor tab |
|
Cmd+Shift+[ |
Yes |
Source |
← All apps on Shortcut Atlas