Hotkeys and shortcuts for Xcode

(Total 216)

⌘ Cmd + ,
Other system and application shortcuts
Open the application's preferences window (equivalent to the Preferences command)
⌘ Cmd + H
Other system and application shortcuts
Hide the windows of the currently running application (equivalent to the Hide ApplicationName command)
⌥ Option + ⌘ Cmd + H
Other system and application shortcuts
Hide the windows of all other running applications (equivalent to the Hide Others command)
⌘ Cmd + Q
Other system and application shortcuts
Quit the application (equivalent to the Quit command)
⌘ Cmd + T
Other system and application shortcuts
Display the Fonts window (equivalent to the Show Fonts command)
↑   Shift + ⌘ Cmd + T
File menu
New Window
⌘ Cmd + N
Other system and application shortcuts
Open a new document (equivalent to the New command)
↑   Shift + ⌘ Cmd + N
File menu
New Project...
Control + ⌘ Cmd + N
File menu
New Workspace
⌥ Option + ⌘ Cmd + N
File menu
New Group
⌥ Option + ⌘ Cmd + A
File menu
Add Files...
⌘ Cmd + O
Other system and application shortcuts
Display a dialog for choosing a document to open (equivalent to the Open command)
↑   Shift + ⌘ Cmd + O
File menu
Open Quickly...
⌘ Cmd + W
Other system and application shortcuts
Close the active window (equivalent to the Close command)
⌥ Option + ⌘ Cmd + W
Other system and application shortcuts
Close all windows in the application (equivalent to the Close All command)
↑   Shift + ⌘ Cmd + W
Other system and application shortcuts
Close a file and its associated windows (equivalent to the Close File command)
⌥ Option + ↑   Shift + ⌘ Cmd + W
File menu
Close Other Tabs
Control + ⌘ Cmd + W
File menu
Close Document
⌘ Cmd + S
Other system and application shortcuts
Save the active document (equivalent to the Save command)
⌥ Option + ⌘ Cmd + S
File menu
Save All
⌥ Option + ↑   Shift + ⌘ Cmd + S
File menu
Save Multiple...
↑   Shift + ⌘ Cmd + S
Other system and application shortcuts
Display the Save dialog (equivalent to the Save As command)
⌥ Option + ⌘ Cmd + C
Other system and application shortcuts
Copy the style of the selected text (equivalent to the Copy Style command)
⌥ Option + ⌘ Cmd + X
File menu
Update...
Control + ⌥ Option + ⌘ Cmd + X
File menu
Update All
Control + ⌘ Cmd + S
File menu
Create Snapshot...
↑   Shift + ⌘ Cmd + P
Other system and application shortcuts
Display a dialog for specifying printing parameters (equivalent to the Page Setup command)
⌘ Cmd + P
Other system and application shortcuts
Display the Print dialog (equivalent to the Print command)
⌘ Cmd + Z
Other system and application shortcuts
Reverse the effect of the user's previous operation (equivalent to the Undo command)
↑   Shift + ⌘ Cmd + Z
Other system and application shortcuts
Reverse the effect of the last Undo command (equivalent to the Redo command)
⌘ Cmd + X
Other system and application shortcuts
Remove the selection and store on the Clipboard (equivalent to the Cut command)
⌘ Cmd + C
Other system and application shortcuts
Duplicate the selected data and store on the Clipboard (equivalent to the Copy command)
⌘ Cmd + V
Other system and application shortcuts
Insert the Clipboard contents at the insertion point (equivalent to the Paste command)
⌥ Option + ⌘ Cmd + V
Other system and application shortcuts
Apply the style of one object to the selected object (equivalent to the Paste Style command)
⌥ Option + ↑   Shift + ⌘ Cmd + V
Edit menu
Paste and Match Style
⌘ Cmd + D
Edit menu
Duplicate
⌘ Cmd + A
Other system and application shortcuts
Highlight every item in a document or window, or all characters in a text field (equivalent to the Select All command)
↑   Shift + ⌘ Cmd + F
Edit menu
Find in Workspace...
⌥ Option + ↑   Shift + ⌘ Cmd + F
Edit menu
Find and Replace in Workspace...
⌘ Cmd + F
Other system and application shortcuts
Open a Find window (equivalent to the Find command)
⌥ Option + ⌘ Cmd + F
Other system and application shortcuts
Jump to the search field control
⌘ Cmd + G
Other system and application shortcuts
Find the next occurrence of the selection (equivalent to the Find Next command)
↑   Shift + ⌘ Cmd + G
Other system and application shortcuts
Find the previous occurrence of the selection (equivalent to the Find Previous command)
⌘ Cmd + E
Other system and application shortcuts
Use the selection for a find operation
↑   Shift + ⌘ Cmd + E
Edit menu
Use Selection for Replace
⌥ Option + ⌘ Cmd + J
Edit menu
Filter in Navigator
⌥ Option + ⌘ Cmd + L
Edit menu
Filter in Library
Control + ↑   Shift + ⌘ Cmd + T
Edit menu
Show Fonts
⌘ Cmd + :
Other system and application shortcuts
Display the Spelling window (equivalent to the Spelling command)
⌘ Cmd + 1
View menu
Project
⌘ Cmd + 2
View menu
Symbol
⌘ Cmd + 3
View menu
Search
⌘ Cmd + 4
View menu
Issue
⌘ Cmd + 5
View menu
Debug
⌘ Cmd + 6
View menu
Breakpoint
⌘ Cmd + 7
View menu
Log
⌘ Cmd + 0
View menu
Show Navigator
⌘ Cmd + ⤶ Enter
View menu
Standard
⌥ Option + ⌘ Cmd + ⤶ Enter
View menu
Assistant
⌥ Option + ↑   Shift + ⌘ Cmd + ⤶ Enter
View menu
Version
Control + 1
View menu
Show Related Items
Control + 2
View menu
Show Previous History
Control + ⌘ Cmd + 2
View menu
Show Previous Files History
Control + 3
View menu
Show Next History
Control + ⌘ Cmd + 3
View menu
Show Next Files History
Control + 4
View menu
Show Top Level Items
Control + 5
View menu
Show Group Files
Control + 6
View menu
Show Document Items
Control + 7
View menu
Show Issues
Control + ↑   Shift + ⌘ Cmd + W
View menu
Remove Assistant Editor
⌥ Option + ↑   Shift + ⌘ Cmd + Z
View menu
Reset Editor
↑   Shift + ⌘ Cmd + Y
View menu
Show Debug area
⌘ Cmd + L
Navigate menu
Reveal in Project Navigator
⌘ Cmd + <
Product menu
Edit Scheme...
Control + ⌘ Cmd +
Navigate menu
Go Forward
Control + ⌥ Option + ⌘ Cmd +
Navigate menu
Go Forward in Alternate Editor
Control + ⌘ Cmd +
Navigate menu
Go Back
Control + ⌥ Option + ⌘ Cmd +
Navigate menu
Go Back in Alternate Editor
⌘ Cmd + J
Other system and application shortcuts
Scroll to a selection
↑   Shift + ⌘ Cmd + D
Navigate menu
Jump to Definition
⌥ Option + ⌘ Cmd + K
Navigate menu
Move Focus To Next Area
⌥ Option + ↑   Shift + ⌘ Cmd + K
Product menu
Clean Build Folder...
Control + ⌘ Cmd +
Navigate menu - Source editor
Jump to Counterpart
↑   Shift + ⌘ Cmd + J
Navigate menu - Source editor
Jump To...
Control + /
Navigate menu - Source editor
Jump to Next Placeholder
Control + ?
Navigate menu - Source editor
Jump to Previous Placeholder
⌘ Cmd + '
Navigate menu - Source editor
Jump to Next Issue
Control + ⌘ Cmd + '
Navigate menu - Source editor
Jump and Fix Next Issue
⌘ Cmd + "
Navigate menu - Source editor
Jump to Previous Issue
Control + ⌘ Cmd + "
Navigate menu - Source editor
Jump and Fix Previous Issue
Control + ⌘ Cmd + A
Editor menu - Data model
Add Attribute
Control + ⌘ Cmd + R
Product menu
Run Without Building
⌘ Cmd + [
Editor menu - Source code
Shift Left
⌘ Cmd + ]
Editor menu - Source code
Shift Right
⌘ Cmd + =
Editor menu - Interface Builder
Size to Fit
⌘ Cmd + _
Editor menu - Interface Builder
Add Horizontal Guide
⌘ Cmd + |
Other system and application shortcuts
Center-align a selection (equivalent to the Align Center command)
⌥ Option + ⌘ Cmd +
Editor menu - PDF
Next Page
⌥ Option + ⌘ Cmd +
Editor menu - PDF
Previous Page
⌘ Cmd + +
Editor menu - Scripting definition
Make Text Bigger
⌘ Cmd + -
Other system and application shortcuts
Decrease the size of the selected item (equivalent to the Smaller command)
Control + \
Editor menu - Source code
Show Completions
Control + ⌘ Cmd + E
Editor menu - Source code
Edit All in Scope
Control + ⌘ Cmd + F
Editor menu - Source code
Fix All in Scope
Control + ⌘ Cmd + M
Editor menu - Source code
Show All Issues
⌥ Option + ⌘ Cmd + [
Editor menu - Source code
Move Line Up
⌥ Option + ⌘ Cmd + ]
Editor menu - Source code
Move Line Down
⌘ Cmd + /
Editor menu - Source code
Comment Selection
⌥ Option + ⌘ Cmd +
Editor menu - Source code
Fold
⌥ Option + ⌘ Cmd +
Editor menu - Source code
Unfold
⌥ Option + ↑   Shift + ⌘ Cmd +
Editor menu - Source code
Fold Methods & Functions
⌥ Option + ↑   Shift + ⌘ Cmd +
Editor menu - Source code
Unfold Methods & Functions
Control + ↑   Shift + ⌘ Cmd +
Editor menu - Source code
Fold Comment Blocks
Control + ↑   Shift + ⌘ Cmd +
Editor menu - Source code
Unfold Comment Blocks
⌥ Option + ↑   Shift + ⌘ Cmd + O
Editor menu - Hex editor
Overwrite Mode
⌘ Cmd + R
Product menu
Run
⌥ Option + ⌘ Cmd + R
Product menu
Run...(1)
⌥ Option + ⌘ Cmd + T
Other system and application shortcuts
Show or hide a toolbar (equivalent to the Show/Hide Toolbar command)
⌘ Cmd + I
Other system and application shortcuts
Display an Info window
⌥ Option + ⌘ Cmd + I
Other system and application shortcuts
Display an inspector window
Control + ⌘ Cmd + B
Product menu
Analyze
Control + ⌥ Option + ⌘ Cmd + B
Product menu
Analyze...(1)
↑   Shift + ⌘ Cmd + R
Product menu
Build For Running
↑   Shift + ⌘ Cmd + U
Product menu
Build For Testing
↑   Shift + ⌘ Cmd + I
Product menu
Build for Profiling
Control + ⌘ Cmd + U
Product menu
Test Without Building
Control + ⌘ Cmd + I
Product menu
Profile Without Building
⌘ Cmd + B
Other system and application shortcuts
Boldface the selected text or toggle boldfaced text on and off (equivalent to the Bold command)
↑   Shift + ⌘ Cmd + K
Product menu
Clean
⌘ Cmd + .
Product menu
Stop
Control + ⌘ Cmd + Y
Product menu
Pause
F7
Product menu
Step Into
F6
Product menu
Step Over
F8
Product menu
Step Out
Control + ↑   Shift + F7
Product menu
Step Into Thread
Control + ⌘ Cmd + F7
Product menu
Step Into Instruction
Control + ↑   Shift + F6
Product menu
Step Over Thread
Control + F6
Other system and application shortcuts
Move focus to the first (or next) panel
⌘ Cmd + \
Product menu
Add Breakpoint at Current Line
⌘ Cmd + Y
Product menu
Activate Breakpoints
⌘ Cmd + K
Product menu
Clear Console
⌘ Cmd + M
Other system and application shortcuts
Minimize the active window to the Dock (equivalent to the Minimize command)
⌘ Cmd + }
Other system and application shortcuts
Right-align a selection (equivalent to the Align Right command)
⌘ Cmd + {
Other system and application shortcuts
Left-align a selection (equivalent to the Align Left command)
↑   Shift + ⌘ Cmd + 1
Window menu
Welcome to Xcode
↑   Shift + ⌘ Cmd + 2
Window menu
Organizer
Control + ⌘ Cmd + ?
Help menu
Quick Help
Control + ⌥ Option + ⌘ Cmd + /
Help menu
Search Documentation for Selected Text
⌥ Option + ⌘ Cmd + ?
Help menu
Developer Documentation
⌘ Cmd + Space
Other system and application shortcuts
Show or hide the Spotlight search field (when multiple languages are installed, may rotate through enabled script systems)
↑   Shift + ⌘ Cmd + Space
Other system and application shortcuts
Apple reserved
⌥ Option + ⌘ Cmd + Space
Other system and application shortcuts
Show the Spotlight search results window (when multiple languages are installed, may rotate through keyboard layouts and input methods within a script)
Control + ⌘ Cmd + Space
Other system and application shortcuts
Apple reserved
↑   Shift + ⭾ Tab
Other system and application shortcuts
Navigate through controls in a reverse direction
⌘ Cmd + ⭾ Tab
Other system and application shortcuts
Move forward to the next most recently used application in a list of open applications
↑   Shift + ⌘ Cmd + ⭾ Tab
Other system and application shortcuts
Move backward through a list of open applications (sorted by recent use)
Control + ⭾ Tab
Other system and application shortcuts
Move focus to the next grouping of controls in a dialog or the next table (when Tab moves to the next cell)
↑   Shift + Control + ⭾ Tab
Other system and application shortcuts
Move focus to the previous grouping of controls
⌘ Cmd + Esc
Other system and application shortcuts
Open Front Row
⌥ Option + ⌘ Cmd + Esc
Other system and application shortcuts
Open the Force Quit dialog
Control + ⌘ Cmd + Eject
Other system and application shortcuts
Quit all applications (after giving the user a chance to save changes to open documents) and restart the computer
Control + ⌥ Option + ⌘ Cmd + Eject
Other system and application shortcuts
Quit all applications (after giving the user a chance to save changes to open documents) and shut the computer down
Control + F1
Other system and application shortcuts
Toggle full keyboard access on or off
Control + F2
Other system and application shortcuts
Move focus to the menu bar
Control + F3
Other system and application shortcuts
Move focus to the Dock
Control + F4
Other system and application shortcuts
Move focus to the active (or next) window
↑   Shift + Control + F4
Other system and application shortcuts
Move focus to the previously active window
Control + F5
Other system and application shortcuts
Move focus to the toolbar
⌘ Cmd + F5
Other system and application shortcuts
Turn VoiceOver on or off
↑   Shift + Control + F6
Other system and application shortcuts
Move focus to the previous panel
Control + F7
Other system and application shortcuts
Temporarily override the current keyboard access mode in windows and dialogs
⌘ Cmd + `
Other system and application shortcuts
Activate the next open window in the frontmost application
↑   Shift + ⌘ Cmd + `
Other system and application shortcuts
Activate the previous open window in the frontmost application
⌥ Option + ⌘ Cmd + `
Other system and application shortcuts
Move focus to the window drawer
⌥ Option + ⌘ Cmd + -
Other system and application shortcuts
Zoom out when screen zooming is on
⌘ Cmd + ;
Other system and application shortcuts
Find misspelled words in the document (equivalent to the Check Spelling command)
⌥ Option + Control + ⌘ Cmd + ,
Other system and application shortcuts
Decrease screen contrast
⌥ Option + Control + ⌘ Cmd + .
Other system and application shortcuts
Increase screen contrast
⌘ Cmd + ?
Other system and application shortcuts
Open the application's help in Help Viewer
⌥ Option + ⌘ Cmd + /
Other system and application shortcuts
Turn font smoothing on or off
↑   Shift + ⌘ Cmd + =
Other system and application shortcuts
Increase the size of the selected item (equivalent to the Bigger command)
⌥ Option + ⌘ Cmd + =
Other system and application shortcuts
Zoom in when screen zooming is on
↑   Shift + ⌘ Cmd + 3
Other system and application shortcuts
Capture the screen to a file
↑   Shift + Control + ⌘ Cmd + 3
Other system and application shortcuts
Capture the screen to the Clipboard
↑   Shift + ⌘ Cmd + 4
Other system and application shortcuts
Capture a selection to a file
↑   Shift + Control + ⌘ Cmd + 4
Other system and application shortcuts
Capture a selection to the Clipboard
⌥ Option + ⌘ Cmd + 8
Other system and application shortcuts
Turn screen zooming on or off
⌥ Option + Control + ⌘ Cmd + 8
Other system and application shortcuts
Invert the screen colors
↑   Shift + ⌘ Cmd + C
Other system and application shortcuts
Display the Colors window (equivalent to the Show Colors command)
Control + ⌘ Cmd + C
Other system and application shortcuts
Copy the formatting settings of the selected item and store on the Clipboard (equivalent to the Copy Ruler command)
⌥ Option + ⌘ Cmd + D
Other system and application shortcuts
Show or hide the Dock
⌘ Cmd + Control + D
Other system and application shortcuts
Display the definition of the selected word in the Dictionary application
⌥ Option + ⌘ Cmd + M
Other system and application shortcuts
Minimize all windows of the active application to the Dock (equivalent to the Minimize All command)
↑   Shift + ⌘ Cmd + Q
Other system and application shortcuts
Log out the current user (equivalent to the Log Out command)
↑   Shift + ⌥ Option + ⌘ Cmd + Q
Other system and application shortcuts
Log out the current user without confirmation
⌘ Cmd + U
Other system and application shortcuts
Underline the selected text or turn underlining on or off (equivalent to the Underline command)
⌥ Option + ⌘ Cmd + ⌘ Cmd + V
Other system and application shortcuts
Apply the style of the surrounding text to the inserted object (equivalent to the Paste and Match Style command)
Control + ⌘ Cmd + V
Other system and application shortcuts
Apply formatting settings to the selected object (equivalent to the Paste Ruler command)
⌘ Cmd +
Other system and application shortcuts
Change the keyboard layout to current layout of Roman script
↑   Shift + ⌘ Cmd +
Other system and application shortcuts
Extend selection to the next semantic unit, typically the end of the current line
↑   Shift +
Other system and application shortcuts
Extend selection one character to the right
↑   Shift + ⌥ Option +
Other system and application shortcuts
Extend selection to the end of the current word, then to the end of the next word
Control +
Other system and application shortcuts
Move focus to another value or cell within a view, such as a table
⌘ Cmd +
Other system and application shortcuts
Change the keyboard layout to current layout of system script
↑   Shift + ⌘ Cmd +
Other system and application shortcuts
Extend selection to the previous semantic unit, typically the beginning of the current line
↑   Shift +
Other system and application shortcuts
Extend selection one character to the left
↑   Shift + ⌥ Option +
Other system and application shortcuts
Extend selection to the beginning of the current word, then to the beginning of the previous word
Control +
Other system and application shortcuts
Move focus to another value or cell within a view, such as a table
↑   Shift + ⌘ Cmd +
Other system and application shortcuts
Extend selection upward in the next semantic unit, typically the beginning of the document
↑   Shift +
Other system and application shortcuts
Extend selection to the line above, to the nearest character boundary at the same horizontal location
↑   Shift + ⌥ Option +
Other system and application shortcuts
Extend selection to the beginning of the current paragraph, then to the beginning of the next paragraph
Control +
Other system and application shortcuts
Move focus to another value or cell within a view, such as a table
↑   Shift + ⌘ Cmd +
Other system and application shortcuts
Extend selection downward in the next semantic unit, typically the end of the document
↑   Shift +
Other system and application shortcuts
Extend selection to the line below, to the nearest character boundary at the same horizontal location
↑   Shift + ⌥ Option +
Other system and application shortcuts
Extend selection to the end of the current paragraph, then to the end of the next paragraph (include the paragraph terminator, such as Return, in cut, copy, and paste operations)
Control +
Other system and application shortcuts
Move focus to another value or cell within a view, such as a table