Text
Xcode 4 Keyboard Shortcuts
View
Xcode App Shortcuts Preferences ⌘, Hide Xcode ⌘H Hide Others ⌥⌘H Quit Xcode ⌘Q
File ⌘T New Tab ⇧⌘T New Window ⌘N New File ⇧⌘N New Project New Workspace ⌃⌘N New Group ⌥⌘N Add Files ⌥⌘A Open ⌘O Open Quickly... ⇧⌘O Open This Quickly... ⌃⌘O Close Window ⌘W Close All Windows ⌥⌘W Close Tab ⇧⌘W Close Other Tabs ⌥⇧⌘W Close Document ⌃⌘W Save ⌘S Save All ⌥⌘S Save Multiple ⌥⇧⌘S Save As ⇧⌘S Commit... ⌥⌘C Update.... ⌥⌘X Update All ⌃⌥⌘X Create Snapshot ⌃⌘S Page Setup ⇧⌘P Print ⌘P
Edit Undo ⌘Z Redo ⇧⌘Z Cut ⌘X Copy ⌘C Paste ⌘V Paste Special ⌥⌘V Paste and Match Style ⌥⇧⌘V Duplicate ⌘D Select All ⌘A Find in Workspace... ⇧⌘F Find & Replace in Workspace... ⌥⇧⌘F Find ⌘F Find and Replace... ⌥⌘F Find Next ⌘G Find Previous ⇧⌘G Use Selection for Find ⌘E Use Selection for Replace ⇧⌘E Filter in Navigator ⌥⌘J Filter in Library ⌥⌘L Show Fonts ⌃⇧⌘T Show Spelling & Grammar ⌘:
Created by Colin Wheeler 2/25/08 Updated 3/9/2011 for 4.0 cocoasamurai@gmail.com
Project Symbol Search Issue Debug Breakpoint Log Show Navigator Standard Assistant Version Show Related Items Show Previous History Show Previous Files History Show Next History Show Next Files History Show Top Level Items Show Group Files Show Document Items Show Issues Remove Assistant Editor Reset Editor Show Debug Area
⌘1 ⌘2 ⌘3 ⌘4 ⌘5 ⌘6 ⌘7 ⌘0 ⌘↩ ⌥⌘↩ ⌥⇧⌘↩ ⌃1 ⌃2 ⌃⌘2 ⌃3 ⌃⌘3 ⌃4 ⌃5 ⌃6 ⌃7 ⌃⇧⌘W ⌥⇧⌘Z ⇧⌘Y
Navigate ⇧⌘J Reveal in Project Navigator ⌥⌘, Open In... ⌥⌘< Open In... ⌥⌘. Move Focus to Next Area ⌥⌘> Move Focus to Previous Area ⌘J Move Focus to Editor... ⌃⌘→ Go Forward ⌃⌥⌘→ Go Forward (option) ⌃⌥⇧⌘→ Go Forward (shift + option) Go Back ⌃⌘← Go Back (option) ⌃⌥⌘← Go Back (shift + option) ⌃⌥⇧⌘← Jump to Selection ⇧⌘L Jump to Definition ⌃⌘D Jump to Definition (option) ⌃⌥⌘D Jump to Definition (shift + option) ⌃⌥⇧⌘D Jump to Next Issue ⌘' Fix Next Issue ⌃⌘' Jump to Previous Issue ⌘" Fix Previous Issue ⌃⌘" Navigate for Source Code Jump to Next Counterpart ⌃⌘↑ Jump to Next Counterpart (option) ⌃⌥⌘↑ Jump to Next Counterpart (shift + option) ⌃⌥⇧⌘↑ Jump to Previous Counterpart ⌃⌘↓ Jump to Previous Counterpart (option) ⌃⌥⌘↓ Jump to Previous Counterpart (shift + option) ⌃⌥⇧⌘↓ Jump To... ⌘L Jump to Next Placeholder ⌃/ Jump to Previous Placeholder ⌃?
Editor Menu for Data Model Add Attribute Add Relationship
⌃⌘A ⌃⌘R
Editor Menu for Hex Overwrite Mode
⌥⇧⌘O
Editor Menu for Interface Builder Align Left Edges Align Right Edges Size to Fit Add Horizontal Guide Add Vertical Guide
⌘[ ⌘] ⌘= ⌘_ ⌘|
Editor Menu for PDF Next Page Previous Page
⌥⌘↓ ⌥⌘↑
Editor Menu for Scripting Definition Make Text Bigger Make Text Smaller
⌘+ ⌘-
Editor Menu for Source Code Show Completions Edit All in Scope Fix all in Scope Show All Issues Re-Indent Shift Right Shift Left Move Line Up Move Line Down Comment Selection Fold Unfold Fold Methods & Functions Unfold Methods & Functions Fold Comment Blocks Unfold Comment Blocks
⌃Space ⌃⌘E ⌃⌘F ⌃⌘M ⌃I ⌘] ⌘[ ⌥⌘[ ⌥⌘] ⌘/ ⌥⌘← ⌥⌘→ ⌥⇧⌘← ⌥⇧⌘→ ⌃⇧⌘← ⌃⇧⌘→
Product Menu Run Run... Test Test... Profile Profile... Analyze Analyze... Build for Running Build for Testing Build for Profiling Run Without Building Test Without Building Profile Without Building Build Clean Clean Build Folder... Stop Pause Step Into Step Over Step Out Step Into Thread Step Into Instruction Step Over Thread Step Over Instruction Add Breakpoint at Current Line Activate Breakpoints Clear Console Edit Scheme...
⌘R ⌥⌘R ⌘U ⌥⌘U ⌘I ⌥⌘I ⇧⌘B ⌥⇧⌘B ⇧⌘R ⇧⌘U ⇧⌘I ⌃⌘R ⌃⌘U ⌃⌘I ⌘B ⇧⌘K ⌥⇧⌘K ⌘. ⌃⌘Y F7 F6 F8 ⌃⇧F7 ⌃F7 ⌃⇧F6 ⌃F6 ⌘\ ⌘Y ⌘K ⌘<
Window Menu Minimize Select Next Tab Select Previous Tab Welcome to Xcode Organizer
⌘M ⌘} ⌘{ ⇧⌘1 ⇧⌘2
Help Menu Documentation and API Reference Quick Help for Selected Item Search Documentation for Selected Text
⌥⌘? ⌃⌘? ⌃⌥⌘/
Code Completion Select Previous Completion Select Next Completion Show Completion List
⌃> ⌃. F5, ⌥⎋
Move to Beginning of Document ⌘↑ Move Left ← Move Right Extending Selection ⇧→ Move Backward Extending Selection ⌃⇧B Move Up ⌃P, ↑ Move Down ↓,⌃N Move to Beginning of Paragraph Extending Selection ⌃⇧A Move Subword Forward Extending Selection ⌃⇧→ Move to Beginning of Document Extending Selection ⇧↖,⇧⌘↑ Move Down Extending Selection ⌃⇧N,⇧↓ Move word backward extending selection ⌃⌥⇧B Move word forward extending selection ⌃⌥⇧F Move Subword Forward ⌃→ Move to Beginning of Paragraph ⌃A Move to end of Document extending Selection ⇧⌘↓,⇧↘ Page up Extending Selection ⇧⇞ Move Subword Backward ⌃← Move Word Right ⌥→ Move Right → Move to Right End of Line Extending Selection ⇧⌘→ Move Paragraph Backward Extending Selection ⌥⇧↑ Move Word Right Extending Selection ⌥⇧→ Move Left Extending Selection ⇧← Move to Left End of Line Extending Selection ⇧⌘← Move word backward ⌃⌥B Move to Right End of Line ⌘→ Move Backward ⌃B Move Forward ⌃F Move to Left End of Line ⌘← Page Down ⌥⇟,⌃V Page Up ⌥⇞ Move up Extending Selection ⇧↑,⌃⇧P Move Forward Extending Selection ⌃⇧F Move to End of Document ⌘↓ Page Down Extending Selection ⇧⇟, ⌃⇧V Move Word Left ⌥← Move word forward ⌃⌥F Move Word Left Extending Selection ⌥⇧← Move Subword Backward Extending Selection ⌃⇧← Move Paragraph Forward Extending Selection ⌥⇧↓ Move to end of Paragraph ⌃E Move to end of Paragraph Extending Selection ⌃⇧E Move Paragraph Backward ⌥↑ Move Paragraph Forward ⌥↓ Select to Mark ⌃X⌃M Delete to Mark ⌃W Set Mark ⌃@ Swap with Mark ⌃X⌃X Yank ⌃Y Delete to end of Paragraph ⌃K Delete Word Forward ⌥⌦ Delete Subword Forward ⌃⌦ Delete Forward ⌃D,⌦ Delete ClrLn Delete Subword Backward ⌃⌫ Delete to Beginning of Line ⌘⌫ Delete Backward ⌃H,⌫,␈ Delete Word Backward ⌃⌥⌫, ⌥⌫,⌥␈ Make Text Writing Direction Left to Right ⌃⌥⌘→ Make Base Writing Direction Natural ⌃⌘↓ Make Base Writing Direction Right to Left ⌃⌘← Make Text Writing Direction Natural ⌃⌥⌘↓ Make Base Writing Direction Left to Right ⌃⌘→ Make Text Writing Direction Right to Left ⌃⌥⌘← Center Selection of Visible Area ⌃L Scroll Page up ⌃↑, ⇞ Scroll to Beginning of Document ↖ Scroll Page Down ⇟,⌃↓ Scroll to end of Document ↘ Transpose ⌃T Insert Newline ↩,⌤,␊ Insert Newline and Leave Selection Before It ⌃O Insert Tab without Extra Action ⌥⇥ Insert Double Quote without Extra Action ⌃" Insert Backtab ⇤ Insert Newline without Extra Action ⌥↩,⌥⌤,⌥␊ Insert Slash ⌃/ Insert Single Quote without Extra Action ⌃' Insert Line Break ⌃↩,⌃⌤,⌃␊ Insert Tab ⇥ Cancel ⎋, ⌘. Select Previous Completion ⌃> Select Next Completion ⌃. Show Completion List F5, ⌥⎋