1. Home
  2. Keyboard Shortcuts
  3. Xcode
Code Editors & IDEs

Xcode Keyboard Shortcuts

Every one of Xcode's 136 keyboard shortcuts, collected so you can build apple apps faster

Xcode keyboard shortcuts

Xcode, from Apple, is a code editors & IDEs application designed to build apple apps. It has become a go-to choice for professionals and enthusiasts alike.

Shortcut fluency in Xcode separates casual users from power users. The more shortcuts you commit to muscle memory, the faster your work becomes.

macOS 136 SHORTCUTS 12 CATEGORIES
VISIT XCODE OFFICIAL WEBSITE ↗
Jump to Section (12 sections)

Xcode menu4 SHORTCUTS

Preferences... Cmd+,
Hide Xcode Cmd+H
Hide Others Opt+Cmd+H
Quit Xcode Cmd+Q

File menu24 SHORTCUTS

New Tab Cmd+T
New Window Shift+Cmd+T
New File... Cmd+N
New Project... Shift+Cmd+N
New Workspace Ctrl+Cmd+N
New Group Opt+Cmd+N
Add Files... Opt+Cmd+A
Open... Cmd+O
Open Quickly... Shift+Cmd+O
Close Window Cmd+W
Close All Windows Opt+Cmd+W
Close Tab Shift+Cmd+W
Close Other Tabs Opt+Shift+Cmd+W
Close Document Ctrl+Cmd+W
Save Cmd+S
Save All Opt+Cmd+S
Save Multiple... Opt+Shift+Cmd+S
Save As... Shift+Cmd+S
Commit... Opt+Cmd+C
Update... Opt+Cmd+X
Update All Ctrl+Opt+Cmd+X
Create Snapshot... Ctrl+Cmd+S
Page Setup... Shift+Cmd+P
Print... Cmd+P

Edit menu21 SHORTCUTS

Undo Cmd+Z
Redo Shift+Cmd+Z
Cut Cmd+X
Copy Cmd+C
Paste Cmd+V
Paste Special Opt+Cmd+V
Paste and Match Style Opt+Shift+Cmd+V
Duplicate Cmd+D
Select All Cmd+A
Find in Workspace... Shift+Cmd+F
Find and Replace in Workspace... Opt+Shift+Cmd+F
Find... Cmd+F
Find and Replace... Opt+Cmd+F
Find Next Cmd+G
Find Previous Shift+Cmd+G
Use Selection for Find Cmd+E
Use Selection for Replace Shift+Cmd+E
Filter in Navigator Opt+Cmd+J
Filter in Library Opt+Cmd+L
Show Fonts Ctrl+Shift+Cmd+T
Show Spelling and Grammar Cmd+:

View menu23 SHORTCUTS

Project Cmd+1
Symbol Cmd+2
Search Cmd+3
Issue Cmd+4
Debug Cmd+5
Breakpoint Cmd+6
Log Cmd+7
Show Navigator Cmd+0
Standard Cmd+Enter
Assistant Opt+Cmd+Enter
Version Opt+Shift+Cmd+Enter
Show Related Items Ctrl+1
Show Previous History Ctrl+2
Show Previous Files History Ctrl+Cmd+2
Show Next History Ctrl+3
Show Next Files History Ctrl+Cmd+3
Show Top Level Items Ctrl+4
Show Group Files Ctrl+5
Show Document Items Ctrl+6
Show Issues Ctrl+7
Remove Assistant Editor Ctrl+Shift+Cmd+W
Reset Editor Opt+Shift+Cmd+Delete
Show Debug area Shift+Cmd+Y
The BuildBox Macropad Puts Keyboard Shortcuts at Your Fingertips! LEARN MORE →

Navigate menu18 SHORTCUTS

Reveal in Project Navigator Cmd+L
Open in Adjacent Editor Cmd+,
Go Forward Ctrl+Cmd+Right
Go Forward in Alternate Editor Ctrl+Opt+Cmd+Right
Go Back Ctrl+Cmd+Left
Go Back in Alternate Editor Ctrl+Opt+Cmd+Left
Jump to Selection Cmd+J
Jump to Definition Shift+Cmd+D
Move Focus To Next Area Opt+Cmd+K
Move Focus To Previous Area Opt+Shift+Cmd+K
Jump to Counterpart Ctrl+Cmd+Up
Jump To... Shift+Cmd+J
Jump to Next Placeholder Ctrl+/
Jump to Previous Placeholder Ctrl+?
Jump to Next Issue Cmd+'
Jump and Fix Next Issue Ctrl+Cmd+'
Jump to Previous Issue Cmd+"
Jump and Fix Previous Issue Ctrl+Cmd+"

Editor menu - Data model2 SHORTCUTS

Add Attribute Ctrl+Cmd+A
Add Relationship Ctrl+Cmd+R

Editor menu - Interface Builder5 SHORTCUTS

Align Left Edges Cmd+[
Align Right Edges Cmd+]
Size to Fit Cmd+=
Add Horizontal Guide Cmd+_
Add Vertical Guide Cmd+|

Editor menu - PDF2 SHORTCUTS

Next Page Opt+Cmd+Down
Previous Page Opt+Cmd+Up

Editor menu - Scripting definition2 SHORTCUTS

Make Text Bigger Cmd++
Make Text Smaller Cmd+-

Editor menu - Source code15 SHORTCUTS

Show Completions Ctrl+\
Edit All in Scope Ctrl+Cmd+E
Fix All in Scope Ctrl+Cmd+F
Show All Issues Ctrl+Cmd+M
Shift Right Cmd+]
Shift Left Cmd+[
Move Line Up Opt+Cmd+[
Move Line Down Opt+Cmd+]
Comment Selection Cmd+/
Fold Opt+Cmd+Left
Unfold Opt+Cmd+Right
Fold Methods & Functions Opt+Shift+Cmd+Left
Unfold Methods & Functions Opt+Shift+Cmd+Right
Fold Comment Blocks Ctrl+Shift+Cmd+Left
Unfold Comment Blocks Ctrl+Shift+Cmd+Right

Editor menu - Hex editor1 SHORTCUT

Overwrite Mode Opt+Shift+Cmd+O

Product menu19 SHORTCUTS

Run Cmd+R
Run... Opt+Cmd+R
Test Cmd+T
Test... Opt+Cmd+T
Profile Cmd+I
Profile... Opt+Cmd+I
Analyze Ctrl+Cmd+B
Analyze... Ctrl+Opt+Cmd+B
Build For Running Shift+Cmd+R
Build For Testing Shift+Cmd+U
Build for Profiling Shift+Cmd+I
Run Without Building Ctrl+Cmd+R
Test Without Building Ctrl+Cmd+U
Profile Without Building Ctrl+Cmd+I
Build Cmd+B
Clean Shift+Cmd+K
Clean Build Folder... Opt+Shift+Cmd+K
Stop Cmd+.
Pause Ctrl+Cmd+Y

Noticed errors or keyboard shortcuts that don't work? Please let us know about them here →

The BuildBox Macropad Unlocks Thousands of Keyboard Shortcuts For Any App

The BuildBox Macropad
Available early December

That's why the BuildBox Macropad is the Ultimate Shortcut Machine. One device with infinite shortcuts available at your fingertips, plus a HUGE display showing what each key does, and a magnet-powered zero-friction scroll wheel that moves through documents, video, audio and graphic editing apps like butter!

Enter your Email to get your hands on a launch batch BuildBox (limited: 200 available):

Keyboard Shortcuts for Similar Applications