0% found this document useful (0 votes)
7K views1 page

Xcode Shortcuts

This document provides a summary of keyboard shortcuts in Xcode. It lists shortcuts for navigating and editing code, building and running projects, viewing different aspects of the interface, and performing common code editing tasks like searching, indentation, and code folding. The shortcuts are organized under headings for different Xcode functions like Project, Find, Build, File, and View.

Uploaded by

adityamooley
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7K views1 page

Xcode Shortcuts

This document provides a summary of keyboard shortcuts in Xcode. It lists shortcuts for navigating and editing code, building and running projects, viewing different aspects of the interface, and performing common code editing tasks like searching, indentation, and code folding. The shortcuts are organized under headings for different Xcode functions like Project, Find, Build, File, and View.

Uploaded by

adityamooley
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Text

Cancel ⎋, ⌘.
Xcode Keyboard Shortcuts Center Selection of Visible Area ⌃L
Close Split ⌘'
Project Code Sense Complete List ⌃, ,⌥⎋,F5
Go to Project ⌘0
Code Sense Previous Selection ⌃>
Class Browser ⇧⌘C
Code Sense Previous Placeholder ⌃?
New Group ⌥⌘N
Delete Backward ⌃H
Group ⌥⌘G
Delete Forward ⌃D,⌦
Ungroup ⌥⇧⌘G
Find Delete Subword Backward ⌃⌫
Find in Project ⇧⌘F Add to Project ⌥⌘A
Delete Subword Forward ⌃⌦
Single File Find ⌘F Edit Active Target ⌥⌘E
Delete to Beginning of Line ⌘⌫
Find Next ⌘G Edit Active Executable ⌥⌘X
Delete to end of Paragraph ⌃K
Xcode App Shortcuts Find Previous ⇧⌘G Delete to Mark ⌃W
Use Selection for Find ⌘E Delete Word Backward ⌥, ⌃⌥⌫, ⌥⌫
Preferences ⌘, Use Selection for Replace ⌃⌘E Delete Word Forward ⌥⌦
Hide Xcode ⌘H Jump to Selection ⌘J Execute Selection & Replace w/Output ⌃⌥R
Hide Others ⌥⌘H Execute Selection Inserting Output ⌃R
Quit Xcode ⌘Q Execute Selection Sending Output to Alert Panel ⌃ ⌥⇧R
Build Indent Friendly Delete Backwards ⌫
Build Results ⇧⌘B Indent Friendly Insert Tab ⇥
Build ⌘B Indent Selection ⌃I
Build and Go ⌘↩ Insert Backtab ⇤
File Build and Run ⌘R Insert Newline and Indent ↩,↩
Spelling
Build and Debug ⌘Y Insert Newline and Indent with Enter ⌤
Show Spelling & Grammar ⌘:
New Project ⇧⌘N Clean ⇧⌘K Insert Open Brace {
Check Spelling ⌘;
New File ⌘N Next Build Warning or Error ⌘= Move Backward ⌃B
New Empty File... ⌃⌘N Prev Build Warning or Error ⌘+ Move Backward Extending Selection ⌃⇧B
Open ⌘O Compile ⌘K Move Down ↓,⌃N
Open in Separate Editor ⌥⌘O Move Down Extending Selection ⌃⇧N,⇧↓
Open Quickly ⇧⌘D Move Forward ⌃F
Get Info ⌘I Move Forward Extending Selection ⌃⇧F
Show Inspector ⌥⌘I Move Left ←
Close Window ⌘W View Move Left Extending Selection ⇧←
Close All ⌥⌘W Detail ⌥⌘F Move Paragraph Backward Extending Selection ⌥⇧↑
Close Project ⌃⌘W Zoom Editor Out ⇧⌘E Design Move Paragraph Forward Extending Selection ⌥⇧↓
Close Current File ⇧⌘W Zoom Editor Out Fully ⌥⇧⌘E Show Model Browser ⌃⌘B Move Right →
Save ⌘S Go Forward ⌥⌘→ Diagram Bring to Front ⌃⇧⌘F Move Right Extending Selection ⇧→
Save All ⌥⌘S Go Back ⌥⌘← Diagram Bring to Back ⌃⇧⌘B Move Subword Backward ⌃←
Save As ⇧⌘S Switch to Header/Source ⌥⌘↑ Diagram Lock ⌃⌘L Move Subword Backward Extending Selection ⌃⇧←
Save Copy As ⌥⇧⌘S Reveal in Group Tree ⌥⇧⌘T Diagram Unlock ⌃⇧⌘L Move Subword Forward ⌃→
Revert to Saved ⌘U Diagram Zoom In ⌃⌘+ Move Subword Forward Extending Selection ⌃⇧→
Make Snapshot ⌃⌘S Diagram Zoom Out ⌃⌘- Move to Beginning of Document ⌘↑
Print ⌘P Diagram Zoom to Fit ⌃⌘= Move to Beginning of Document Extending Selection ⇧↖,⇧⌘↑
Force Directed Layout ⌃⌘F Move to Beginning of Line ⌘←
Hierarchical Layout ⌃⌘H Move to Beginning of Line Extending Selection ⇧⌘←
Move to Beginning of Paragraph ⌃A
Move to Beginning of Paragraph Extending Selection ⌃⇧A
Move to End of Document ⌘↓
Code Folding Move to end of Document extending Selection ⇧⌘↓,⇧↘
Edit
Fold ⌃⌘← Move to end of Line ⌘→
Undo ⌘Z
Unfold ⌃⌘→ Move to end of Line Extending Selection ⇧⌘→
Redo ⇧⌘Z Run
Unfold All ⌃U Move to end of Paragraph ⌃E
Cut ⌘X Go ⌥⌘↩
Fold Methods/Functions ⌃⌘↑ Move to end of Paragraph Extending Selection ⌃⇧E
Copy ⌘C Run ⌥⌘R
Paste Unfold Methods/Functions ⌃⌘↓ Move up ⌃P, ↑
⌘V Debug ⌥⌘Y
Paste and Match Style ⌥⇧⌘V Fold Comment Blocks ⌃⇧⌘↑ Move up Extending Selection ⇧↑,⌃⇧P
Unfold Comment Blocks ⌃⇧⌘↓ Stop ⇧⌘↩
Select All ⌘A Move word backward ⌃⌥B
Focus Follows Selection ⌃⌥⌘F Debugger ⇧⌘Y
Refactor ⇧⌘J Move word backward extending selection ⌃⌥⇧B
Mini Debugger ⌃⌘↖
Add to Bookmarks ⌘D Console ⇧⌘R Move word forward ⌃⌥F
Go to Line ⌘L Clear Console ⌃⌥⌘R Move word forward extending selection ⌃⌥⇧F
Next Completion ⌃. Show Breakpoints ⌥⌘B Page Down ⌥⇟,⌃V
Completion List ⌥⎋ Page Down Extending Selection ⇧⇟, ⌃⇧V
Turn Breakpoints On ⌃⌘\
Select Next Placeholder ⌃/ Page Up ⌥⇞
Add Breakpoint at current line ⌘\
Special Characters ⌥⌘T Enable Breakpoint at current line ⌥⌘\ Page up Extending Selection ⇧⇞
Pause ⌥⌘P Pop Bookmarks Popup ⌃4
Step Into ⇧⌘I Pop Breakpoints Popup ⌃5
Step Into Instruction ⌥⇧⌘I Pop Included Headers Popup ⌃3
Step Over Pop Loaded Files Popup ⌃1,⌃⌥1
Message Bubbles ⇧⌘O
Format Step Over Instruction ⌥⇧⌘O Pop Symbols Popup ⌃⌥2, ⌃2
Show All ⇧⌘H
Show Fonts ⌘T Step Out ⇧⌘T Scroll Line Down ⌘↘
Hide All ⌥⇧⌘H
Copy Style ⌥⌘C Scroll Line Up ⌘↖
Paste Style ⌥⌘V Scroll Page Down ⇟,⌃↓
Align Left ⌘{ Scroll Page up ⌃↑, ⇞
Center ⌘| Scroll to Beginning of Document ↖
Align Right ⌘} Scroll to end of Document ↘
Copy Ruler ⌃⌘C Select to Mark ⌃X⌃M
Paste Ruler ⌃⌘V Send Interrupt ⌃C
Shift Right ⌘] Set Mark ⌃Space
Help
Shift Left[ ⌘[ Split Horizontally ⌥⌘"
Window Xcode User Guide ⌘?
Split Vertically ⌘"
Minimize ⌘M Documentation ⌥⌘?
Swap with Mark ⌃X⌃X
Minimize All ⌥⌘M Show Research Assistant ⌃⌘?
Transpose ⌃T
Organizer ⌃⌘O Yank ⌃Y
Created by Colin Wheeler
2/25/08
[email protected]

You might also like