Xcode

Other system and application shortcuts

Center-align a selection (equivalent to the Align Center command)

⌘ Cmd + |

All hotkeys for Xcode

Other system and application shortcuts
Open the application's preferences window (equivalent to the Preferences command)

⌘ Cmd + ,

Other system and application shortcuts
Hide the windows of the currently running application (equivalent to the Hide ApplicationName command)

⌘ Cmd + H

Other system and application shortcuts
Hide the windows of all other running applications (equivalent to the Hide Others command)

⌥ Option + ⌘ Cmd + H

Other system and application shortcuts
Quit the application (equivalent to the Quit command)

⌘ Cmd + Q

Other system and application shortcuts
Display the Fonts window (equivalent to the Show Fonts command)

⌘ Cmd + T

File menu
New Window

↑   Shift + ⌘ Cmd + T

Other system and application shortcuts
Open a new document (equivalent to the New command)

⌘ Cmd + N

File menu
New Project...

↑   Shift + ⌘ Cmd + N

File menu
New Workspace

Control + ⌘ Cmd + N

File menu
New Group

⌥ Option + ⌘ Cmd + N

File menu
Add Files...

⌥ Option + ⌘ Cmd + A

Other system and application shortcuts
Display a dialog for choosing a document to open (equivalent to the Open command)

⌘ Cmd + O

File menu
Open Quickly...

↑   Shift + ⌘ Cmd + O

Other system and application shortcuts
Close the active window (equivalent to the Close command)

⌘ Cmd + W

Other system and application shortcuts
Close all windows in the application (equivalent to the Close All command)

⌥ Option + ⌘ Cmd + W

Other system and application shortcuts
Close a file and its associated windows (equivalent to the Close File command)

↑   Shift + ⌘ Cmd + W

File menu
Close Other Tabs

⌥ Option + ↑   Shift + ⌘ Cmd + W

File menu
Close Document

Control + ⌘ Cmd + W

Other system and application shortcuts
Save the active document (equivalent to the Save command)

⌘ Cmd + S

File menu
Save All

⌥ Option + ⌘ Cmd + S

File menu
Save Multiple...

⌥ Option + ↑   Shift + ⌘ Cmd + S

Other system and application shortcuts
Display the Save dialog (equivalent to the Save As command)

↑   Shift + ⌘ Cmd + S

Other system and application shortcuts
Copy the style of the selected text (equivalent to the Copy Style command)

⌥ Option + ⌘ Cmd + C

File menu
Update...

⌥ Option + ⌘ Cmd + X

File menu
Update All

Control + ⌥ Option + ⌘ Cmd + X

File menu
Create Snapshot...

Control + ⌘ Cmd + S

Other system and application shortcuts
Display a dialog for specifying printing parameters (equivalent to the Page Setup command)

↑   Shift + ⌘ Cmd + P

Other system and application shortcuts
Display the Print dialog (equivalent to the Print command)

⌘ Cmd + P

Other system and application shortcuts
Reverse the effect of the user's previous operation (equivalent to the Undo command)

⌘ Cmd + Z

Other system and application shortcuts
Reverse the effect of the last Undo command (equivalent to the Redo command)

↑   Shift + ⌘ Cmd + Z

Other system and application shortcuts
Remove the selection and store on the Clipboard (equivalent to the Cut command)

⌘ Cmd + X

Other system and application shortcuts
Duplicate the selected data and store on the Clipboard (equivalent to the Copy command)

⌘ Cmd + C

Other system and application shortcuts
Insert the Clipboard contents at the insertion point (equivalent to the Paste command)

⌘ Cmd + V

Other system and application shortcuts
Apply the style of one object to the selected object (equivalent to the Paste Style command)

⌥ Option + ⌘ Cmd + V

Edit menu
Paste and Match Style

⌥ Option + ↑   Shift + ⌘ Cmd + V

Edit menu
Duplicate

⌘ Cmd + D

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)

⌘ Cmd + A

Edit menu
Find in Workspace...

↑   Shift + ⌘ Cmd + F

Edit menu
Find and Replace in Workspace...

⌥ Option + ↑   Shift + ⌘ Cmd + F

Other system and application shortcuts
Open a Find window (equivalent to the Find command)

⌘ Cmd + F

Other system and application shortcuts
Jump to the search field control

⌥ Option + ⌘ Cmd + F

Other system and application shortcuts
Find the next occurrence of the selection (equivalent to the Find Next command)

⌘ Cmd + G

Other system and application shortcuts
Find the previous occurrence of the selection (equivalent to the Find Previous command)

↑   Shift + ⌘ Cmd + G

Other system and application shortcuts
Use the selection for a find operation

⌘ Cmd + E

Edit menu
Use Selection for Replace

↑   Shift + ⌘ Cmd + E

Edit menu
Filter in Navigator

⌥ Option + ⌘ Cmd + J

Edit menu
Filter in Library

⌥ Option + ⌘ Cmd + L

Edit menu
Show Fonts

Control + ↑   Shift + ⌘ Cmd + T

Other system and application shortcuts
Display the Spelling window (equivalent to the Spelling command)

⌘ Cmd + :

View menu
Project

⌘ Cmd + 1

View menu
Symbol

⌘ Cmd + 2

View menu
Search

⌘ Cmd + 3

View menu
Issue

⌘ Cmd + 4

View menu
Debug

⌘ Cmd + 5

View menu
Breakpoint

⌘ Cmd + 6

View menu
Log

⌘ Cmd + 7

View menu
Show Navigator

⌘ Cmd + 0

View menu
Standard

⌘ Cmd + ⤶ Enter

View menu
Assistant

⌥ Option + ⌘ Cmd + ⤶ Enter

View menu
Version

⌥ Option + ↑   Shift + ⌘ Cmd + ⤶ Enter

View menu
Show Related Items

Control + 1

View menu
Show Previous History

Control + 2

View menu
Show Previous Files History

Control + ⌘ Cmd + 2

View menu
Show Next History

Control + 3

View menu
Show Next Files History

Control + ⌘ Cmd + 3

View menu
Show Top Level Items

Control + 4

View menu
Show Group Files

Control + 5

View menu
Show Document Items

Control + 6

View menu
Show Issues

Control + 7

View menu
Remove Assistant Editor

Control + ↑   Shift + ⌘ Cmd + W

View menu
Reset Editor

⌥ Option + ↑   Shift + ⌘ Cmd + Z

View menu
Show Debug area

↑   Shift + ⌘ Cmd + Y

Navigate menu
Reveal in Project Navigator

⌘ Cmd + L

Product menu
Edit Scheme...

⌘ Cmd + <

Navigate menu
Go Forward

Control + ⌘ Cmd +

Navigate menu
Go Forward in Alternate Editor

Control + ⌥ Option + ⌘ Cmd +

Navigate menu
Go Back

Control + ⌘ Cmd +

Navigate menu
Go Back in Alternate Editor

Control + ⌥ Option + ⌘ Cmd +

Other system and application shortcuts
Scroll to a selection

⌘ Cmd + J

Navigate menu
Jump to Definition

↑   Shift + ⌘ Cmd + D

Navigate menu
Move Focus To Next Area

⌥ Option + ⌘ Cmd + K

Product menu
Clean Build Folder...

⌥ Option + ↑   Shift + ⌘ Cmd + K

Navigate menu - Source editor
Jump to Counterpart

Control + ⌘ Cmd +

Navigate menu - Source editor
Jump To...

↑   Shift + ⌘ Cmd + J

Navigate menu - Source editor
Jump to Next Placeholder

Control + /

Navigate menu - Source editor
Jump to Previous Placeholder

Control + ?

Navigate menu - Source editor
Jump to Next Issue

⌘ Cmd + '

Navigate menu - Source editor
Jump and Fix Next Issue

Control + ⌘ Cmd + '

Navigate menu - Source editor
Jump to Previous Issue

⌘ Cmd + "

Navigate menu - Source editor
Jump and Fix Previous Issue

Control + ⌘ Cmd + "

Editor menu - Data model
Add Attribute

Control + ⌘ Cmd + A

Product menu
Run Without Building

Control + ⌘ Cmd + R

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)

⌘ Cmd + |

Editor menu - PDF
Next Page

⌥ Option + ⌘ Cmd +

Editor menu - PDF
Previous Page

⌥ Option + ⌘ 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)

⌘ Cmd + -

Editor menu - Source code
Show Completions

Control + \

Editor menu - Source code
Edit All in Scope

Control + ⌘ Cmd + E

Editor menu - Source code
Fix All in Scope

Control + ⌘ Cmd + F

Editor menu - Source code
Show All Issues

Control + ⌘ Cmd + M

Editor menu - Source code
Move Line Up

⌥ Option + ⌘ Cmd + [

Editor menu - Source code
Move Line Down

⌥ Option + ⌘ Cmd + ]

Editor menu - Source code
Comment Selection

⌘ Cmd + /

Editor menu - Source code
Fold

⌥ Option + ⌘ Cmd +

Editor menu - Source code
Unfold

⌥ Option + ⌘ Cmd +

Editor menu - Source code
Fold Methods & Functions

⌥ Option + ↑   Shift + ⌘ Cmd +

Editor menu - Source code
Unfold Methods & Functions

⌥ Option + ↑   Shift + ⌘ Cmd +

Editor menu - Source code
Fold Comment Blocks

Control + ↑   Shift + ⌘ Cmd +

Editor menu - Source code
Unfold Comment Blocks

Control + ↑   Shift + ⌘ Cmd +

Editor menu - Hex editor
Overwrite Mode

⌥ Option + ↑   Shift + ⌘ Cmd + O

Product menu
Run

⌘ Cmd + R

Product menu
Run...(1)

⌥ Option + ⌘ Cmd + R

Other system and application shortcuts
Show or hide a toolbar (equivalent to the Show/Hide Toolbar command)

⌥ Option + ⌘ Cmd + T

Other system and application shortcuts
Display an Info window

⌘ Cmd + I

Other system and application shortcuts
Display an inspector window

⌥ Option + ⌘ Cmd + I

Product menu
Analyze

Control + ⌘ Cmd + B

Product menu
Analyze...(1)

Control + ⌥ Option + ⌘ Cmd + B

Product menu
Build For Running

↑   Shift + ⌘ Cmd + R

Product menu
Build For Testing

↑   Shift + ⌘ Cmd + U

Product menu
Build for Profiling

↑   Shift + ⌘ Cmd + I

Product menu
Test Without Building

Control + ⌘ Cmd + U

Product menu
Profile Without Building

Control + ⌘ Cmd + I

Other system and application shortcuts
Boldface the selected text or toggle boldfaced text on and off (equivalent to the Bold command)

⌘ Cmd + B

Product menu
Clean

↑   Shift + ⌘ Cmd + K

Product menu
Stop

⌘ Cmd + .

Product menu
Pause

Control + ⌘ Cmd + Y

Product menu
Step Into

F7

Product menu
Step Over

F6

Product menu
Step Out

F8

Product menu
Step Into Thread

Control + ↑   Shift + F7

Product menu
Step Into Instruction

Control + ⌘ Cmd + F7

Product menu
Step Over Thread

Control + ↑   Shift + F6

Other system and application shortcuts
Move focus to the first (or next) panel

Control + F6

Product menu
Add Breakpoint at Current Line

⌘ Cmd + \

Product menu
Activate Breakpoints

⌘ Cmd + Y

Product menu
Clear Console

⌘ Cmd + K

Other system and application shortcuts
Minimize the active window to the Dock (equivalent to the Minimize command)

⌘ Cmd + M

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)

⌘ Cmd + {

Window menu
Welcome to Xcode

↑   Shift + ⌘ Cmd + 1

Window menu
Organizer

↑   Shift + ⌘ Cmd + 2

Help menu
Quick Help

Control + ⌘ Cmd + ?

Help menu
Search Documentation for Selected Text

Control + ⌥ Option + ⌘ Cmd + /

Help menu
Developer Documentation

⌥ Option + ⌘ Cmd + ?

Other system and application shortcuts
Show or hide the Spotlight search field (when multiple languages are installed, may rotate through enabled script systems)

⌘ Cmd + Space

Other system and application shortcuts
Apple reserved

↑   Shift + ⌘ 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)

⌥ Option + ⌘ Cmd + Space

Other system and application shortcuts
Apple reserved

Control + ⌘ Cmd + Space

Other system and application shortcuts
Navigate through controls in a reverse direction

↑   Shift + ⭾ Tab

Other system and application shortcuts
Move forward to the next most recently used application in a list of open applications

⌘ Cmd + ⭾ Tab

Other system and application shortcuts
Move backward through a list of open applications (sorted by recent use)

↑   Shift + ⌘ Cmd + ⭾ 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)

Control + ⭾ Tab

Other system and application shortcuts
Move focus to the previous grouping of controls

↑   Shift + Control + ⭾ Tab

Other system and application shortcuts
Open Front Row

⌘ Cmd + Esc

Other system and application shortcuts
Open the Force Quit dialog

⌥ Option + ⌘ Cmd + Esc

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 + ⌘ 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 + ⌥ Option + ⌘ Cmd + Eject

Other system and application shortcuts
Toggle full keyboard access on or off

Control + F1

Other system and application shortcuts
Move focus to the menu bar

Control + F2

Other system and application shortcuts
Move focus to the Dock

Control + F3

Other system and application shortcuts
Move focus to the active (or next) window

Control + F4

Other system and application shortcuts
Move focus to the previously active window

↑   Shift + Control + F4

Other system and application shortcuts
Move focus to the toolbar

Control + F5

Other system and application shortcuts
Turn VoiceOver on or off

⌘ Cmd + F5

Other system and application shortcuts
Move focus to the previous panel

↑   Shift + Control + F6

Other system and application shortcuts
Temporarily override the current keyboard access mode in windows and dialogs

Control + F7

Other system and application shortcuts
Activate the next open window in the frontmost application

⌘ Cmd + `

Other system and application shortcuts
Activate the previous open window in the frontmost application

↑   Shift + ⌘ 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

⌥ Option + ⌘ Cmd + -

Other system and application shortcuts
Find misspelled words in the document (equivalent to the Check Spelling command)

⌘ Cmd + ;

Other system and application shortcuts
Decrease screen contrast

⌥ Option + Control + ⌘ Cmd + ,

Other system and application shortcuts
Increase screen contrast

⌥ Option + Control + ⌘ Cmd + .

Other system and application shortcuts
Open the application's help in Help Viewer

⌘ Cmd + ?

Other system and application shortcuts
Turn font smoothing on or off

⌥ Option + ⌘ Cmd + /

Other system and application shortcuts
Increase the size of the selected item (equivalent to the Bigger command)

↑   Shift + ⌘ Cmd + =

Other system and application shortcuts
Zoom in when screen zooming is on

⌥ Option + ⌘ Cmd + =

Other system and application shortcuts
Capture the screen to a file

↑   Shift + ⌘ Cmd + 3

Other system and application shortcuts
Capture the screen to the Clipboard

↑   Shift + Control + ⌘ Cmd + 3

Other system and application shortcuts
Capture a selection to a file

↑   Shift + ⌘ Cmd + 4

Other system and application shortcuts
Capture a selection to the Clipboard

↑   Shift + Control + ⌘ Cmd + 4

Other system and application shortcuts
Turn screen zooming on or off

⌥ Option + ⌘ Cmd + 8

Other system and application shortcuts
Invert the screen colors

⌥ Option + Control + ⌘ Cmd + 8

Other system and application shortcuts
Display the Colors window (equivalent to the Show Colors command)

↑   Shift + ⌘ 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)

Control + ⌘ Cmd + C

Other system and application shortcuts
Show or hide the Dock

⌥ Option + ⌘ Cmd + D

Other system and application shortcuts
Display the definition of the selected word in the Dictionary application

⌘ Cmd + Control + D

Other system and application shortcuts
Minimize all windows of the active application to the Dock (equivalent to the Minimize All command)

⌥ Option + ⌘ Cmd + M

Other system and application shortcuts
Log out the current user (equivalent to the Log Out command)

↑   Shift + ⌘ Cmd + Q

Other system and application shortcuts
Log out the current user without confirmation

↑   Shift + ⌥ Option + ⌘ Cmd + Q

Other system and application shortcuts
Underline the selected text or turn underlining on or off (equivalent to the Underline command)

⌘ Cmd + U

Other system and application shortcuts
Apply the style of the surrounding text to the inserted object (equivalent to the Paste and Match Style command)

⌥ Option + ⌘ Cmd + ⌘ Cmd + V

Other system and application shortcuts
Apply formatting settings to the selected object (equivalent to the Paste Ruler command)

Control + ⌘ Cmd + V

Other system and application shortcuts
Change the keyboard layout to current layout of Roman script

⌘ Cmd +

Other system and application shortcuts
Extend selection to the next semantic unit, typically the end of the current line

↑   Shift + ⌘ Cmd +

Other system and application shortcuts
Extend selection one character to the right

↑   Shift +

Other system and application shortcuts
Extend selection to the end of the current word, then to the end of the next word

↑   Shift + ⌥ Option +

Other system and application shortcuts
Move focus to another value or cell within a view, such as a table

Control +

Other system and application shortcuts
Change the keyboard layout to current layout of system script

⌘ Cmd +

Other system and application shortcuts
Extend selection to the previous semantic unit, typically the beginning of the current line

↑   Shift + ⌘ Cmd +

Other system and application shortcuts
Extend selection one character to the left

↑   Shift +

Other system and application shortcuts
Extend selection to the beginning of the current word, then to the beginning of the previous word

↑   Shift + ⌥ Option +

Other system and application shortcuts
Move focus to another value or cell within a view, such as a table

Control +

Other system and application shortcuts
Extend selection upward in the next semantic unit, typically the beginning of the document

↑   Shift + ⌘ Cmd +

Other system and application shortcuts
Extend selection to the line above, to the nearest character boundary at the same horizontal location

↑   Shift +

Other system and application shortcuts
Extend selection to the beginning of the current paragraph, then to the beginning of the next paragraph

↑   Shift + ⌥ Option +

Other system and application shortcuts
Move focus to another value or cell within a view, such as a table

Control +

Other system and application shortcuts
Extend selection downward in the next semantic unit, typically the end of the document

↑   Shift + ⌘ Cmd +

Other system and application shortcuts
Extend selection to the line below, to the nearest character boundary at the same horizontal location

↑   Shift +

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)

↑   Shift + ⌥ Option +

Other system and application shortcuts
Move focus to another value or cell within a view, such as a table

Control +

Similar combinations for other applications


Nuclide (Mac)
Shows the file that is currently active in the main workspace in the Project Explorer’s File Tree.
Project Explorer’s file tree

⌘ Cmd + |


Apple Pages
Center the text
Formatting text

⌘ Cmd + |