XCode Keyboard Shortcuts for Mac
General
Preferences
- Cmd
- +
- ,
Documentation
- Cmd
- +
- Shift
- +
- 0
Console
- Cmd
- +
- Shift
- +
- C
Documentation for selected text
- Ctrl
- +
- Shift
- +
- /
Quick help
- Cmd
- +
- Shift
- +
- /
Interface
Switch navigators
- Cmd
- +
- 1-7
Toggle navigators
- Cmd
- +
- 0
Filter in navigator
- Cmd
- +
- Opt
- +
- J
Toggle debug area
- Cmd
- +
- Shift
- +
- Y
Show standard editor
- Cmd
- +
- Enter
Show assistant editor
- Cmd
- +
- Opt
- +
- Enter
Show version editor
- Cmd
- +
- Shift
- +
- Opt
- +
- Enter
Switch inspectors
- Cmd
- +
- Opt
- +
- 1-6
Toggle utilities
- Cmd
- +
- Opt
- +
- 0
Filter in library
- Cmd
- +
- Opt
- +
- L
Code Editing
Show completions
- Ctrl
- +
- Space
Next completion
- Ctrl
- +
- .
Accept completion
- Tab
Next placeholder
- Ctrl
- +
- /
Previous placeholder
- Ctrl
- +
- Shift
- +
- /
Comment selection
- Cmd
- +
- /
Fold method or class
- Cmd
- +
- Opt
- +
- Left
Unfold method or class
- Cmd
- +
- Opt
- +
- Right
Edit all in scope
- Cmd
- +
- E
Build and Run
Build
- Cmd
- +
- B
Analyze
- Cmd
- +
- Shift
- +
- B
Run
- Cmd
- +
- R
Profile
- Cmd
- +
- I
Test
- Cmd
- +
- U
Clean
- Cmd
- +
- Shift
- +
- K
Clear console
- Cmd
- +
- K
File Navigation
Go forward
- Cmd
- +
- Ctrl
- +
- Right
Go back
- Cmd
- +
- Ctrl
- +
- Left
Open quickly
- Cmd
- +
- Shift
- +
- O
Show related items
- Ctrl
- +
- 1
Debugging
Next issue
- Cmd
- +
- ‘
Previous issue
- Cmd
- +
- Shift
- +
- ‘
Fix next issue
- Cmd
- +
- Ctrl
- +
- ‘
Fix previous issue
- Cmd
- +
- Ctrl
- +
- Shift
- +
- ‘
Add breakpoint
- Cmd
- +
- \
Activate breakpoints
- Cmd
- +
- Y
Code Navigation
End of line
- Cmd
- +
- Right
Beginning of line
- Cmd
- +
- Left
Top of file
- Cmd
- +
- Up
Bottom of file
- Cmd
- +
- Down
Next word
- Opt
- +
- Right
Previous word
- Opt
- +
- Left
Next subword
- Ctrl
- +
- Right
Previous subword
- Ctrl
- +
- Left
Center selection
- Ctrl
- +
- L
Go to line
- Cmd
- +
- L
Find in file
- Cmd
- +
- F
Find in project
- Cmd
- +
- Shift
- +
- F
Find next
- Cmd
- +
- G
Find previous
- Cmd
- +
- Shift
- +
- G
Libraries
File template
- Cmd
- +
- Ctrl
- +
- Opt
- +
- 1
Code snippet
- Cmd
- +
- Ctrl
- +
- Opt
- +
- 2
Object
- Cmd
- +
- Ctrl
- +
- Opt
- +
- 3
Media
- Cmd
- +
- Ctrl
- +
- Opt
- +
- 4