Keyboard Shortcuts in Xcode

Listed below are the various keyboard shortcuts in Xcode 7. Symbols corresponding to Mac keyboard used are command (), shift (), control (), option/alt ()

Build, Run, Test

Build ⌘ + B
Clean ⌘ + + K
Run Tests ⌘ + U
Run ⌘ + R

Debug

Step Over F6
Step Into F7
Step Out F8
Toggle BreakPoint ⌘ + \
Enable or disable BreakPoints ⌘ + Y
Continue ⌃ + ⌘ + Y

Navigator

Show/Hide + 0

Project Navigator + 1
Symbol Navigator + 2
Find Navigator + 3
Issue Navigator + 4
Test Navigator + 5
Debug Navigator + 6
Breakpoint Navigator + 7
Report Navigator + 8

Utility Pane

Show/Hide ⌘ + ⌥ + 0

File Inspector ⌘ + + 1
Quick Help Inspector + + 2
Identity Inspector + + 3
Attributes Inspector + + 4
Size Inspector + + 5
Connection Inspector + + 6

File Template Library + + + 1
Code Snippet Library + + + 2
Object Library + + + 3
Media Library + + + 4

Find and Replace

Find in Project ⌘ + ⇧ + F
Find / Replace in Project ⌥ + ⌘ + ⇧ + F

Find + F
Find / Replace ⌥ + ⌘ + F
FInd Next ⌘ + G
Find Previous ⌘ + ⇧ + G

Editor

Quickly open file ⌘ + ⇧ + O
Open definition ⌃ + ⌘ + J
Comment / Uncomment ⌘ + /
Assitant Editor ⌘ + ⌥ + ⏎
Hide Assitant Editor ⌘ + ⏎
Related Items menu ⌃ + 1
Indent Selection to Right ⌘ + ]
Indent Selection to Left ⌘ + [
Re Indent ⌃ + I
Reveals Current file in Navigator ⌘ + ⇧ + J
Move focus to editor ⌘ + J

Interface Builder

Selected View Move Up
Selected View Move Down

Update frame ⌥ + ⌘ + =
Update Constraint ⇧ + ⌘ + =
Open all views ⇧ + ⌃ + Click

Documentation

Documentation Popup ⌥ + Click


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.