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 |
Not documented |
Cmd+B |
macOS |
Source |
| Run |
Build and run |
Not documented |
Cmd+R |
macOS |
Source |
| Stop |
Stop running |
Not documented |
Cmd+. |
macOS |
Source |
| Clean Build |
Clean build folder |
Not documented |
Cmd+Shift+K |
macOS |
Source |
| Toggle Breakpoint |
|
Not documented |
Cmd+\ |
macOS |
Source |
| Show Debug Area |
Toggle debug area |
Not documented |
Cmd+Shift+Y |
macOS |
Source |
| Step Over |
|
Not documented |
F6 |
macOS |
Source |
| Step Into |
|
Not documented |
F7 |
macOS |
Source |
| Step Out |
|
Not documented |
F8 |
macOS |
Source |
Editing
| Action | Description | Windows | Mac | Verified | Source |
| Comment |
Comment selection |
Not documented |
Cmd+/ |
macOS |
Source |
| Rename |
Rename symbol |
Not documented |
Ctrl+Cmd+E |
macOS |
Source |
File
| Action | Description | Windows | Mac | Verified | Source |
| Save |
Save file |
Not documented |
Cmd+S |
macOS |
Source |
| New File |
|
Not documented |
Cmd+N |
macOS |
Source |
| Save All |
Save all files |
Not documented |
Cmd+Option+S |
macOS |
Source |
Formatting
| Action | Description | Windows | Mac | Verified | Source |
| Indent |
Indent selection |
Not documented |
Cmd+] |
macOS |
Source |
| Unindent |
Unindent selection |
Not documented |
Cmd+[ |
macOS |
Source |
Navigation
| Action | Description | Windows | Mac | Verified | Source |
| Open Quickly |
Open file quickly |
Not documented |
Cmd+Shift+O |
macOS |
Source |
| Jump to Definition |
|
Not documented |
Cmd+Ctrl+J |
macOS |
Source |
| Documentation |
Quick help |
Not documented |
Cmd+Option+? |
macOS |
Source |
Search
| Action | Description | Windows | Mac | Verified | Source |
| Find |
Find in workspace |
Not documented |
Cmd+F |
macOS |
Source |
| Find and Replace |
|
Not documented |
Cmd+Option+F |
macOS |
Source |
View
| Action | Description | Windows | Mac | Verified | Source |
| Show Navigator |
Toggle navigator |
Not documented |
Cmd+0 |
macOS |
Source |
| Show Assistant |
Show assistant editor |
Not documented |
Cmd+Option+Return |
macOS |
Source |
| Fold |
Fold code |
Not documented |
Cmd+Option+Left |
macOS |
Source |
| Unfold |
Unfold code |
Not documented |
Cmd+Option+Right |
macOS |
Source |
| Show Library |
Show object library |
Not documented |
Cmd+Shift+L |
macOS |
Source |
| Canvas Zoom In |
Zoom canvas in |
Not documented |
Cmd+Plus |
macOS |
Source |
| Canvas Zoom Out |
Zoom canvas out |
Not documented |
Cmd+Minus |
macOS |
Source |
| Hide Assistant |
Hide assistant editor |
Not documented |
Cmd+Return |
macOS |
Source |
Window
| Action | Description | Windows | Mac | Verified | Source |
| Close Tab |
Close current tab |
Not documented |
Cmd+W |
macOS |
Source |
| Next Tab |
Next editor tab |
Not documented |
Cmd+Shift+] |
macOS |
Source |
| Previous Tab |
Previous editor tab |
Not documented |
Cmd+Shift+[ |
macOS |
Source |
← All apps on Shortcut Atlas