File
New File ⌘ N
Save ⌘ S
Save All ⌥ ⌘ S
Close Tab ⌘ W
Close Other Tabs ⌥ ⌘ W
Close Window ⇧ ⌘ W
Add File ⌥ ⌘ N
Export File
Show File in Finder
Open Project ⌘ O
Edit
View
Show Library ⇧ ⌘ L
Show Code Review ⌥ ⇧ ⌘ ↩︎ (Git)
Editor
Show Related Items ⌃ 1
Show Previous History ⌃ 2
Show Next History ⌃ 3
Show Top Level Items ⌃ 4
Show Group Files ⌃ 5
Show Document Items ⌃ 6
Navigators
Navigator ⌘ 0
Project ⌘ 1
Source Control ⌘ 2
Symbols ⌘ 3
Find ⌘ 4
Issues ⌘ 5
Tests ⌘ 6
Debug ⌘ 7
Breakpoints ⌘ 8
Reports ⌘ 9
Debug Area
Activate Console ⇧ ⌘ C
Show Debug Area ⇧ ⌘ Y
Inspectors
Inspector ⌥ ⌘ 0
File ⌥ ⌘ 1
History ⌥ ⌘ 2
Quick Help ⌥ ⌘ 3 (or ⌥ Click or Force Touch)
Find
Find ⌘ F
Replace ⌥ ⌘ F
Global Find ⇧ ⌘ F
Global Replace ⌥ ⇧ ⌘ F
Change names of variables or methods (except comments):
⌘ Click - Edit All in Scope (Touch Bar): Change names in this file.
⌘ Click - Rename: Change all names in current project.
Change all names (include comments):
(Find ⌘ F or Global Find ⇧ ⌘ F)
double-click to select the word
Use Selection for Find ⌘ E
Find Next ⌘ G
Select Next Occurrence ⌥ ⌘ E
Select All Find Matches (in this file)
Select Find Matches in Selection (in selection)
(Find Previous ⇧ ⌘ G)
(Select Previous Occurrence ⌥ ⇧ ⌘ E)
Navigate
Reveal in Project Navigator ⇧ ⌘ J
Reveal in Symbol Navigator
Show Previous/Next Tab ⇧ ⌘ []
Jump to Definition ⌃ ⌘ J (or Touch Bar or ⌃ ⌘ Click)
Quick Help ⌥ ⌘ 3 (or ⌥ Click or Force Touch)
Editor
Show Completions ⌃ Space (or ⎋ if set in Preferences)
Show Editor Only ⌘ ↩︎
Canvas ⌥ ⌘ ↩︎
Canvas
Refresh Canvas ⌥ ⌘ P
Structure
Shift Left/Right ⌘ []
Move Line Up/Down ⌥ ⌘ []
Toggle Comments ⌘ /
Add Documentation ⌥ ⌘ /
Code Folding
Fold/Unfold ⌥ ⌘ Left/Right
Unfold All
Fold/Unfold Comment Blocks ⌃ ⇧ ⌘ Left/Right
Font Size
Increase ⌘ =
Decrease ⌘ -
Reset ⌃ ⌘ 0
Product
Build ⌘ B
Run ⌘ R
Stop ⌘ .
Window
Developer Documentation ⇧ ⌘ 0
Welcome to Xcode ⇧ ⌘ 1
Devices and Simulators ⇧ ⌘ 2