Xcode
Other system and application shortcuts
Increase screen contrast
⌥ Option + Control + ⌘ Cmd + .
All hotkeys for Xcode
Other system and application shortcutsOpen the application's preferences window (equivalent to the Preferences command) |
⌘ Cmd + , |
Other system and application shortcutsHide the windows of the currently running application (equivalent to the Hide ApplicationName command) |
⌘ Cmd + H |
Other system and application shortcutsHide the windows of all other running applications (equivalent to the Hide Others command) |
⌥ Option + ⌘ Cmd + H |
Other system and application shortcutsQuit the application (equivalent to the Quit command) |
⌘ Cmd + Q |
Other system and application shortcutsDisplay the Fonts window (equivalent to the Show Fonts command) |
⌘ Cmd + T |
File menuNew Window |
↑ Shift + ⌘ Cmd + T |
Other system and application shortcutsOpen a new document (equivalent to the New command) |
⌘ Cmd + N |
File menuNew Project... |
↑ Shift + ⌘ Cmd + N |
File menuNew Workspace |
Control + ⌘ Cmd + N |
File menuNew Group |
⌥ Option + ⌘ Cmd + N |
File menuAdd Files... |
⌥ Option + ⌘ Cmd + A |
Other system and application shortcutsDisplay a dialog for choosing a document to open (equivalent to the Open command) |
⌘ Cmd + O |
File menuOpen Quickly... |
↑ Shift + ⌘ Cmd + O |
Other system and application shortcutsClose the active window (equivalent to the Close command) |
⌘ Cmd + W |
Other system and application shortcutsClose all windows in the application (equivalent to the Close All command) |
⌥ Option + ⌘ Cmd + W |
Other system and application shortcutsClose a file and its associated windows (equivalent to the Close File command) |
↑ Shift + ⌘ Cmd + W |
File menuClose Other Tabs |
⌥ Option + ↑ Shift + ⌘ Cmd + W |
File menuClose Document |
Control + ⌘ Cmd + W |
Other system and application shortcutsSave the active document (equivalent to the Save command) |
⌘ Cmd + S |
File menuSave All |
⌥ Option + ⌘ Cmd + S |
File menuSave Multiple... |
⌥ Option + ↑ Shift + ⌘ Cmd + S |
Other system and application shortcutsDisplay the Save dialog (equivalent to the Save As command) |
↑ Shift + ⌘ Cmd + S |
Other system and application shortcutsCopy the style of the selected text (equivalent to the Copy Style command) |
⌥ Option + ⌘ Cmd + C |
File menuUpdate... |
⌥ Option + ⌘ Cmd + X |
File menuUpdate All |
Control + ⌥ Option + ⌘ Cmd + X |
File menuCreate Snapshot... |
Control + ⌘ Cmd + S |
Other system and application shortcutsDisplay a dialog for specifying printing parameters (equivalent to the Page Setup command) |
↑ Shift + ⌘ Cmd + P |
Other system and application shortcutsDisplay the Print dialog (equivalent to the Print command) |
⌘ Cmd + P |
Other system and application shortcutsReverse the effect of the user's previous operation (equivalent to the Undo command) |
⌘ Cmd + Z |
Other system and application shortcutsReverse the effect of the last Undo command (equivalent to the Redo command) |
↑ Shift + ⌘ Cmd + Z |
Other system and application shortcutsRemove the selection and store on the Clipboard (equivalent to the Cut command) |
⌘ Cmd + X |
Other system and application shortcutsDuplicate the selected data and store on the Clipboard (equivalent to the Copy command) |
⌘ Cmd + C |
Other system and application shortcutsInsert the Clipboard contents at the insertion point (equivalent to the Paste command) |
⌘ Cmd + V |
Other system and application shortcutsApply the style of one object to the selected object (equivalent to the Paste Style command) |
⌥ Option + ⌘ Cmd + V |
Edit menuPaste and Match Style |
⌥ Option + ↑ Shift + ⌘ Cmd + V |
Edit menuDuplicate |
⌘ Cmd + D |
Other system and application shortcutsHighlight every item in a document or window, or all characters in a text field (equivalent to the Select All command) |
⌘ Cmd + A |
Edit menuFind in Workspace... |
↑ Shift + ⌘ Cmd + F |
Edit menuFind and Replace in Workspace... |
⌥ Option + ↑ Shift + ⌘ Cmd + F |
Other system and application shortcutsOpen a Find window (equivalent to the Find command) |
⌘ Cmd + F |
Other system and application shortcutsJump to the search field control |
⌥ Option + ⌘ Cmd + F |
Other system and application shortcutsFind the next occurrence of the selection (equivalent to the Find Next command) |
⌘ Cmd + G |
Other system and application shortcutsFind the previous occurrence of the selection (equivalent to the Find Previous command) |
↑ Shift + ⌘ Cmd + G |
Other system and application shortcutsUse the selection for a find operation |
⌘ Cmd + E |
Edit menuUse Selection for Replace |
↑ Shift + ⌘ Cmd + E |
Edit menuFilter in Navigator |
⌥ Option + ⌘ Cmd + J |
Edit menuFilter in Library |
⌥ Option + ⌘ Cmd + L |
Edit menuShow Fonts |
Control + ↑ Shift + ⌘ Cmd + T |
Other system and application shortcutsDisplay the Spelling window (equivalent to the Spelling command) |
⌘ Cmd + : |
View menuProject |
⌘ Cmd + 1 |
View menuSymbol |
⌘ Cmd + 2 |
View menuSearch |
⌘ Cmd + 3 |
View menuIssue |
⌘ Cmd + 4 |
View menuDebug |
⌘ Cmd + 5 |
View menuBreakpoint |
⌘ Cmd + 6 |
View menuLog |
⌘ Cmd + 7 |
View menuShow Navigator |
⌘ Cmd + 0 |
View menuStandard |
⌘ Cmd + ⤶ Enter |
View menuAssistant |
⌥ Option + ⌘ Cmd + ⤶ Enter |
View menuVersion |
⌥ Option + ↑ Shift + ⌘ Cmd + ⤶ Enter |
View menuShow Related Items |
Control + 1 |
View menuShow Previous History |
Control + 2 |
View menuShow Previous Files History |
Control + ⌘ Cmd + 2 |
View menuShow Next History |
Control + 3 |
View menuShow Next Files History |
Control + ⌘ Cmd + 3 |
View menuShow Top Level Items |
Control + 4 |
View menuShow Group Files |
Control + 5 |
View menuShow Document Items |
Control + 6 |
View menuShow Issues |
Control + 7 |
View menuRemove Assistant Editor |
Control + ↑ Shift + ⌘ Cmd + W |
View menuReset Editor |
⌥ Option + ↑ Shift + ⌘ Cmd + Z |
View menuShow Debug area |
↑ Shift + ⌘ Cmd + Y |
Navigate menuReveal in Project Navigator |
⌘ Cmd + L |
Product menuEdit Scheme... |
⌘ Cmd + < |
Navigate menuGo Forward |
Control + ⌘ Cmd + → |
Navigate menuGo Forward in Alternate Editor |
Control + ⌥ Option + ⌘ Cmd + → |
Navigate menuGo Back |
Control + ⌘ Cmd + ← |
Navigate menuGo Back in Alternate Editor |
Control + ⌥ Option + ⌘ Cmd + ← |
Other system and application shortcutsScroll to a selection |
⌘ Cmd + J |
Navigate menuJump to Definition |
↑ Shift + ⌘ Cmd + D |
Navigate menuMove Focus To Next Area |
⌥ Option + ⌘ Cmd + K |
Product menuClean Build Folder... |
⌥ Option + ↑ Shift + ⌘ Cmd + K |
Navigate menu - Source editorJump to Counterpart |
Control + ⌘ Cmd + ↑ |
Navigate menu - Source editorJump To... |
↑ Shift + ⌘ Cmd + J |
Navigate menu - Source editorJump to Next Placeholder |
Control + / |
Navigate menu - Source editorJump to Previous Placeholder |
Control + ? |
Navigate menu - Source editorJump to Next Issue |
⌘ Cmd + ' |
Navigate menu - Source editorJump and Fix Next Issue |
Control + ⌘ Cmd + ' |
Navigate menu - Source editorJump to Previous Issue |
⌘ Cmd + " |
Navigate menu - Source editorJump and Fix Previous Issue |
Control + ⌘ Cmd + " |
Editor menu - Data modelAdd Attribute |
Control + ⌘ Cmd + A |
Product menuRun Without Building |
Control + ⌘ Cmd + R |
Editor menu - Source codeShift Left |
⌘ Cmd + [ |
Editor menu - Source codeShift Right |
⌘ Cmd + ] |
Editor menu - Interface BuilderSize to Fit |
⌘ Cmd + = |
Editor menu - Interface BuilderAdd Horizontal Guide |
⌘ Cmd + _ |
Other system and application shortcutsCenter-align a selection (equivalent to the Align Center command) |
⌘ Cmd + | |
Editor menu - PDFNext Page |
⌥ Option + ⌘ Cmd + ↓ |
Editor menu - PDFPrevious Page |
⌥ Option + ⌘ Cmd + ↑ |
Editor menu - Scripting definitionMake Text Bigger |
⌘ Cmd + + |
Other system and application shortcutsDecrease the size of the selected item (equivalent to the Smaller command) |
⌘ Cmd + - |
Editor menu - Source codeShow Completions |
Control + \ |
Editor menu - Source codeEdit All in Scope |
Control + ⌘ Cmd + E |
Editor menu - Source codeFix All in Scope |
Control + ⌘ Cmd + F |
Editor menu - Source codeShow All Issues |
Control + ⌘ Cmd + M |
Editor menu - Source codeMove Line Up |
⌥ Option + ⌘ Cmd + [ |
Editor menu - Source codeMove Line Down |
⌥ Option + ⌘ Cmd + ] |
Editor menu - Source codeComment Selection |
⌘ Cmd + / |
Editor menu - Source codeFold |
⌥ Option + ⌘ Cmd + ← |
Editor menu - Source codeUnfold |
⌥ Option + ⌘ Cmd + → |
Editor menu - Source codeFold Methods & Functions |
⌥ Option + ↑ Shift + ⌘ Cmd + ← |
Editor menu - Source codeUnfold Methods & Functions |
⌥ Option + ↑ Shift + ⌘ Cmd + → |
Editor menu - Source codeFold Comment Blocks |
Control + ↑ Shift + ⌘ Cmd + ← |
Editor menu - Source codeUnfold Comment Blocks |
Control + ↑ Shift + ⌘ Cmd + → |
Editor menu - Hex editorOverwrite Mode |
⌥ Option + ↑ Shift + ⌘ Cmd + O |
Product menuRun |
⌘ Cmd + R |
Product menuRun...(1) |
⌥ Option + ⌘ Cmd + R |
Other system and application shortcutsShow or hide a toolbar (equivalent to the Show/Hide Toolbar command) |
⌥ Option + ⌘ Cmd + T |
Other system and application shortcutsDisplay an Info window |
⌘ Cmd + I |
Other system and application shortcutsDisplay an inspector window |
⌥ Option + ⌘ Cmd + I |
Product menuAnalyze |
Control + ⌘ Cmd + B |
Product menuAnalyze...(1) |
Control + ⌥ Option + ⌘ Cmd + B |
Product menuBuild For Running |
↑ Shift + ⌘ Cmd + R |
Product menuBuild For Testing |
↑ Shift + ⌘ Cmd + U |
Product menuBuild for Profiling |
↑ Shift + ⌘ Cmd + I |
Product menuTest Without Building |
Control + ⌘ Cmd + U |
Product menuProfile Without Building |
Control + ⌘ Cmd + I |
Other system and application shortcutsBoldface the selected text or toggle boldfaced text on and off (equivalent to the Bold command) |
⌘ Cmd + B |
Product menuClean |
↑ Shift + ⌘ Cmd + K |
Product menuStop |
⌘ Cmd + . |
Product menuPause |
Control + ⌘ Cmd + Y |
Product menuStep Into |
F7 |
Product menuStep Over |
F6 |
Product menuStep Out |
F8 |
Product menuStep Into Thread |
Control + ↑ Shift + F7 |
Product menuStep Into Instruction |
Control + ⌘ Cmd + F7 |
Product menuStep Over Thread |
Control + ↑ Shift + F6 |
Other system and application shortcutsMove focus to the first (or next) panel |
Control + F6 |
Product menuAdd Breakpoint at Current Line |
⌘ Cmd + \ |
Product menuActivate Breakpoints |
⌘ Cmd + Y |
Product menuClear Console |
⌘ Cmd + K |
Other system and application shortcutsMinimize the active window to the Dock (equivalent to the Minimize command) |
⌘ Cmd + M |
Other system and application shortcutsRight-align a selection (equivalent to the Align Right command) |
⌘ Cmd + } |
Other system and application shortcutsLeft-align a selection (equivalent to the Align Left command) |
⌘ Cmd + { |
Window menuWelcome to Xcode |
↑ Shift + ⌘ Cmd + 1 |
Window menuOrganizer |
↑ Shift + ⌘ Cmd + 2 |
Help menuQuick Help |
Control + ⌘ Cmd + ? |
Help menuSearch Documentation for Selected Text |
Control + ⌥ Option + ⌘ Cmd + / |
Help menuDeveloper Documentation |
⌥ Option + ⌘ Cmd + ? |
Other system and application shortcutsShow or hide the Spotlight search field (when multiple languages are installed, may rotate through enabled script systems) |
⌘ Cmd + Space |
Other system and application shortcutsApple reserved |
↑ Shift + ⌘ Cmd + Space |
Other system and application shortcutsShow 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 shortcutsApple reserved |
Control + ⌘ Cmd + Space |
Other system and application shortcutsNavigate through controls in a reverse direction |
↑ Shift + ⭾ Tab |
Other system and application shortcutsMove forward to the next most recently used application in a list of open applications |
⌘ Cmd + ⭾ Tab |
Other system and application shortcutsMove backward through a list of open applications (sorted by recent use) |
↑ Shift + ⌘ Cmd + ⭾ Tab |
Other system and application shortcutsMove 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 shortcutsMove focus to the previous grouping of controls |
↑ Shift + Control + ⭾ Tab |
Other system and application shortcutsOpen Front Row |
⌘ Cmd + Esc |
Other system and application shortcutsOpen the Force Quit dialog |
⌥ Option + ⌘ Cmd + Esc |
Other system and application shortcutsQuit 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 shortcutsQuit 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 shortcutsToggle full keyboard access on or off |
Control + F1 |
Other system and application shortcutsMove focus to the menu bar |
Control + F2 |
Other system and application shortcutsMove focus to the Dock |
Control + F3 |
Other system and application shortcutsMove focus to the active (or next) window |
Control + F4 |
Other system and application shortcutsMove focus to the previously active window |
↑ Shift + Control + F4 |
Other system and application shortcutsMove focus to the toolbar |
Control + F5 |
Other system and application shortcutsTurn VoiceOver on or off |
⌘ Cmd + F5 |
Other system and application shortcutsMove focus to the previous panel |
↑ Shift + Control + F6 |
Other system and application shortcutsTemporarily override the current keyboard access mode in windows and dialogs |
Control + F7 |
Other system and application shortcutsActivate the next open window in the frontmost application |
⌘ Cmd + ` |
Other system and application shortcutsActivate the previous open window in the frontmost application |
↑ Shift + ⌘ Cmd + ` |
Other system and application shortcutsMove focus to the window drawer |
⌥ Option + ⌘ Cmd + ` |
Other system and application shortcutsZoom out when screen zooming is on |
⌥ Option + ⌘ Cmd + - |
Other system and application shortcutsFind misspelled words in the document (equivalent to the Check Spelling command) |
⌘ Cmd + ; |
Other system and application shortcutsDecrease screen contrast |
⌥ Option + Control + ⌘ Cmd + , |
Other system and application shortcutsIncrease screen contrast |
⌥ Option + Control + ⌘ Cmd + . |
Other system and application shortcutsOpen the application's help in Help Viewer |
⌘ Cmd + ? |
Other system and application shortcutsTurn font smoothing on or off |
⌥ Option + ⌘ Cmd + / |
Other system and application shortcutsIncrease the size of the selected item (equivalent to the Bigger command) |
↑ Shift + ⌘ Cmd + = |
Other system and application shortcutsZoom in when screen zooming is on |
⌥ Option + ⌘ Cmd + = |
Other system and application shortcutsCapture the screen to a file |
↑ Shift + ⌘ Cmd + 3 |
Other system and application shortcutsCapture the screen to the Clipboard |
↑ Shift + Control + ⌘ Cmd + 3 |
Other system and application shortcutsCapture a selection to a file |
↑ Shift + ⌘ Cmd + 4 |
Other system and application shortcutsCapture a selection to the Clipboard |
↑ Shift + Control + ⌘ Cmd + 4 |
Other system and application shortcutsTurn screen zooming on or off |
⌥ Option + ⌘ Cmd + 8 |
Other system and application shortcutsInvert the screen colors |
⌥ Option + Control + ⌘ Cmd + 8 |
Other system and application shortcutsDisplay the Colors window (equivalent to the Show Colors command) |
↑ Shift + ⌘ Cmd + C |
Other system and application shortcutsCopy 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 shortcutsShow or hide the Dock |
⌥ Option + ⌘ Cmd + D |
Other system and application shortcutsDisplay the definition of the selected word in the Dictionary application |
⌘ Cmd + Control + D |
Other system and application shortcutsMinimize all windows of the active application to the Dock (equivalent to the Minimize All command) |
⌥ Option + ⌘ Cmd + M |
Other system and application shortcutsLog out the current user (equivalent to the Log Out command) |
↑ Shift + ⌘ Cmd + Q |
Other system and application shortcutsLog out the current user without confirmation |
↑ Shift + ⌥ Option + ⌘ Cmd + Q |
Other system and application shortcutsUnderline the selected text or turn underlining on or off (equivalent to the Underline command) |
⌘ Cmd + U |
Other system and application shortcutsApply 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 shortcutsApply formatting settings to the selected object (equivalent to the Paste Ruler command) |
Control + ⌘ Cmd + V |
Other system and application shortcutsChange the keyboard layout to current layout of Roman script |
⌘ Cmd + → |
Other system and application shortcutsExtend selection to the next semantic unit, typically the end of the current line |
↑ Shift + ⌘ Cmd + → |
Other system and application shortcutsExtend selection one character to the right |
↑ Shift + → |
Other system and application shortcutsExtend selection to the end of the current word, then to the end of the next word |
↑ Shift + ⌥ Option + → |
Other system and application shortcutsMove focus to another value or cell within a view, such as a table |
Control + → |
Other system and application shortcutsChange the keyboard layout to current layout of system script |
⌘ Cmd + ← |
Other system and application shortcutsExtend selection to the previous semantic unit, typically the beginning of the current line |
↑ Shift + ⌘ Cmd + ← |
Other system and application shortcutsExtend selection one character to the left |
↑ Shift + ← |
Other system and application shortcutsExtend selection to the beginning of the current word, then to the beginning of the previous word |
↑ Shift + ⌥ Option + ← |
Other system and application shortcutsMove focus to another value or cell within a view, such as a table |
Control + ← |
Other system and application shortcutsExtend selection upward in the next semantic unit, typically the beginning of the document |
↑ Shift + ⌘ Cmd + ↑ |
Other system and application shortcutsExtend selection to the line above, to the nearest character boundary at the same horizontal location |
↑ Shift + ↑ |
Other system and application shortcutsExtend selection to the beginning of the current paragraph, then to the beginning of the next paragraph |
↑ Shift + ⌥ Option + ↑ |
Other system and application shortcutsMove focus to another value or cell within a view, such as a table |
Control + ↑ |
Other system and application shortcutsExtend selection downward in the next semantic unit, typically the end of the document |
↑ Shift + ⌘ Cmd + ↓ |
Other system and application shortcutsExtend selection to the line below, to the nearest character boundary at the same horizontal location |
↑ Shift + ↓ |
Other system and application shortcutsExtend 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 shortcutsMove focus to another value or cell within a view, such as a table |
Control + ↓ |