Xcode keyboard shortcuts

Xcode

Zeynel Abidin Öztürk -
17 months ago
- Shortcuts
⌘ Cmd + ,

Preferences...

⌘ Cmd + H

Hide Xcode

⌥ Option + ⌘ Cmd + H

Hide Others

⌘ Cmd + Q

Quit Xcode

⌘ Cmd + Z

Undo

↑   Shift + ⌘ Cmd + Z

Redo

⌘ Cmd + X

Cut

⌘ Cmd + C

Copy

⌘ Cmd + V

Paste

⌥ Option + ⌘ Cmd + V

Paste Special

⌥ Option + ↑   Shift + ⌘ Cmd + V

Paste and Match Style

⌘ Cmd + D

Duplicate

⌘ Cmd + A

Select All

↑   Shift + ⌘ Cmd + F

Find in Workspace...

⌥ Option + ↑   Shift + ⌘ Cmd + F

Find and Replace in Workspace...

⌘ Cmd + F

Find...

⌥ Option + ⌘ Cmd + F

Find and Replace...

⌘ Cmd + G

Find Next

↑   Shift + ⌘ Cmd + G

Find Previous

⌘ Cmd + E

Use Selection for Find

↑   Shift + ⌘ Cmd + E

Use Selection for Replace

⌥ Option + ⌘ Cmd + J

Filter in Navigator

⌥ Option + ⌘ Cmd + L

Filter in Library

Control + ↑   Shift + ⌘ Cmd + T

Show Fonts

⌘ Cmd + :

Show Spelling and Grammar

⌘ Cmd + 1

Project

⌘ Cmd + 2

Symbol

⌘ Cmd + 3

Search

⌘ Cmd + 4

Issue

⌘ Cmd + 5

Debug

⌘ Cmd + 6

Breakpoint

⌘ Cmd + 7

Log

⌘ Cmd + 0

Show Navigator

⌘ Cmd + ⤶ Enter

Standard

⌥ Option + ⌘ Cmd + ⤶ Enter

Assistant

⌥ Option + ↑   Shift + ⌘ Cmd + ⤶ Enter

Version

Control + 1

Show Related Items

Control + 2

Show Previous History

Control + ⌘ Cmd + 2

Show Previous Files History

Control + 3

Show Next History

Control + ⌘ Cmd + 3

Show Next Files History

Control + 4

Show Top Level Items

Control + 5

Show Group Files

Control + 6

Show Document Items

Control + 7

Show Issues

Control + ↑   Shift + ⌘ Cmd + W

Remove Assistant Editor

⌥ Option + ↑   Shift + ⌘ Cmd + Z

Reset Editor

↑   Shift + ⌘ Cmd + Y

Show Debug area

⌘ Cmd + L

Reveal in Project Navigator

⌘ Cmd + <

Open in Adjacent Editor

Control + ⌘ Cmd +

Go Forward

Control + ⌥ Option + ⌘ Cmd +

Go Forward in Alternate Editor

Control + ⌘ Cmd +

Go Back

Control + ⌥ Option + ⌘ Cmd +

Go Back in Alternate Editor

⌘ Cmd + J

Jump to Selection

↑   Shift + ⌘ Cmd + D

Jump to Definition

⌥ Option + ⌘ Cmd + K

Move Focus To Next Area

⌥ Option + ↑   Shift + ⌘ Cmd + K

Move Focus To Previous Area

Control + ⌘ Cmd +

Jump to Counterpart

↑   Shift + ⌘ Cmd + J

Jump To...

Control + /

Jump to Next Placeholder

Control + ?

Jump to Previous Placeholder

⌘ Cmd + '

Jump to Next Issue

Control + ⌘ Cmd + '

Jump and Fix Next Issue

⌘ Cmd + "

Jump to Previous Issue

Control + ⌘ Cmd + "

Jump and Fix Previous Issue

Control + ⌘ Cmd + A

Add Attribute

Control + ⌘ Cmd + R

Add Relationship

⌘ Cmd + [

Align Left Edges

⌘ Cmd + ]

Align Right Edges

⌘ Cmd + =

Size to Fit

⌘ Cmd + _

Add Horizontal Guide

⌘ Cmd + |

Add Vertical Guide

⌘ Cmd + +

Make Text Bigger

⌘ Cmd + -

Make Text Smaller

Control + \

Show Completions

Control + ⌘ Cmd + E

Edit All in Scope

Control + ⌘ Cmd + F

Fix All in Scope

Control + ⌘ Cmd + M

Show All Issues

⌘ Cmd + ]

Shift Right

⌘ Cmd + [

Shift Left

⌥ Option + ⌘ Cmd + [

Move Line Up

⌥ Option + ⌘ Cmd + ]

Move Line Down

⌘ Cmd + /

Comment Selection

⌥ Option + ⌘ Cmd +

Fold

⌥ Option + ⌘ Cmd +

Unfold

⌥ Option + ↑   Shift + ⌘ Cmd +

Fold Methods & Functions

⌥ Option + ↑   Shift + ⌘ Cmd +

Unfold Methods & Functions

Control + ↑   Shift + ⌘ Cmd +

Fold Comment Blocks

Control + ↑   Shift + ⌘ Cmd +

Unfold Comment Blocks

(1) Opens the scheme editing dialog for editing prior to performing the chosen command.
⌘ Cmd + R

Run

⌥ Option + ⌘ Cmd + R

Run...(1)

⌘ Cmd + T

Test

⌥ Option + ⌘ Cmd + T

Test...(1)

⌘ Cmd + I

Profile

⌥ Option + ⌘ Cmd + I

Profile...(1)

Control + ⌘ Cmd + B

Analyze

Control + ⌥ Option + ⌘ Cmd + B

Analyze...(1)

↑   Shift + ⌘ Cmd + R

Build For Running

↑   Shift + ⌘ Cmd + U

Build For Testing

↑   Shift + ⌘ Cmd + I

Build for Profiling

Control + ⌘ Cmd + R

Run Without Building

Control + ⌘ Cmd + U

Test Without Building

Control + ⌘ Cmd + I

Profile Without Building

⌘ Cmd + B

Build

↑   Shift + ⌘ Cmd + K

Clean

⌥ Option + ↑   Shift + ⌘ Cmd + K

Clean Build Folder...

⌘ Cmd + .

Stop

Control + ⌘ Cmd + Y

Pause

F7

Step Into

F6

Step Over

F8

Step Out

Control + ↑   Shift + F7

Step Into Thread

Control + ⌘ Cmd + F7

Step Into Instruction

Control + ↑   Shift + F6

Step Over Thread

Control + F6

Step Over Instruction

⌘ Cmd + \

Add Breakpoint at Current Line

⌘ Cmd + Y

Activate Breakpoints

⌘ Cmd + K

Clear Console

⌘ Cmd + <

Edit Scheme...

⌘ Cmd + M

Minimize

⌘ Cmd + }

Select Next Tab

⌘ Cmd + {

Select Previous Tab

↑   Shift + ⌘ Cmd + 1

Welcome to Xcode

↑   Shift + ⌘ Cmd + 2

Organizer

Control + ⌘ Cmd + ?

Quick Help

Control + ⌥ Option + ⌘ Cmd + /

Search Documentation for Selected Text

⌥ Option + ⌘ Cmd + ?

Developer Documentation

⌘ Cmd + Space

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

↑   Shift + ⌘ Cmd + Space

Apple reserved

⌥ Option + ⌘ Cmd + Space

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

Apple reserved

↑   Shift + ⭾ Tab

Navigate through controls in a reverse direction

⌘ Cmd + ⭾ Tab

Move forward to the next most recently used application in a list of open applications

↑   Shift + ⌘ Cmd + ⭾ Tab

Move backward through a list of open applications (sorted by recent use)

Control + ⭾ Tab

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

Move focus to the previous grouping of controls

⌘ Cmd + Esc

Open Front Row

⌥ Option + ⌘ Cmd + Esc

Open the Force Quit dialog

Control + ⌘ Cmd + Eject

Quit all applications (after giving the user a chance to save changes to open documents) and restart the computer

Control + ⌥ Option + ⌘ Cmd + Eject

Quit all applications (after giving the user a chance to save changes to open documents) and shut the computer down

Control + F1

Toggle full keyboard access on or off

Control + F2

Move focus to the menu bar

Control + F3

Move focus to the Dock

Control + F4

Move focus to the active (or next) window

↑   Shift + Control + F4

Move focus to the previously active window

Control + F5

Move focus to the toolbar

⌘ Cmd + F5

Turn VoiceOver on or off

Control + F6

Move focus to the first (or next) panel

↑   Shift + Control + F6

Move focus to the previous panel

Control + F7

Temporarily override the current keyboard access mode in windows and dialogs

⌘ Cmd + `

Activate the next open window in the frontmost application

↑   Shift + ⌘ Cmd + `

Activate the previous open window in the frontmost application

⌥ Option + ⌘ Cmd + `

Move focus to the window drawer

⌘ Cmd + -

Decrease the size of the selected item (equivalent to the Smaller command)

⌥ Option + ⌘ Cmd + -

Zoom out when screen zooming is on

⌘ Cmd + {

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

⌘ Cmd + }

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

⌘ Cmd + |

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

⌘ Cmd + :

Display the Spelling window (equivalent to the Spelling command)

⌘ Cmd + ;

Find misspelled words in the document (equivalent to the Check Spelling command)

⌘ Cmd + ,

Open the application's preferences window (equivalent to the Preferences command)

⌥ Option + Control + ⌘ Cmd + ,

Decrease screen contrast

⌥ Option + Control + ⌘ Cmd + .

Increase screen contrast

⌘ Cmd + ?

Open the application's help in Help Viewer

⌥ Option + ⌘ Cmd + /

Turn font smoothing on or off

↑   Shift + ⌘ Cmd + =

Increase the size of the selected item (equivalent to the Bigger command)

⌥ Option + ⌘ Cmd + =

Zoom in when screen zooming is on

↑   Shift + ⌘ Cmd + 3

Capture the screen to a file

↑   Shift + Control + ⌘ Cmd + 3

Capture the screen to the Clipboard

↑   Shift + ⌘ Cmd + 4

Capture a selection to a file

↑   Shift + Control + ⌘ Cmd + 4

Capture a selection to the Clipboard

⌥ Option + ⌘ Cmd + 8

Turn screen zooming on or off

⌥ Option + Control + ⌘ Cmd + 8

Invert the screen colors

⌘ Cmd + A

Highlight every item in a document or window, or all characters in a text field (equivalent to the Select All command)

⌘ Cmd + B

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

⌘ Cmd + C

Duplicate the selected data and store on the Clipboard (equivalent to the Copy command)

↑   Shift + ⌘ Cmd + C

Display the Colors window (equivalent to the Show Colors command)

⌥ Option + ⌘ Cmd + C

Copy the style of the selected text (equivalent to the Copy Style command)

Control + ⌘ Cmd + C

Copy the formatting settings of the selected item and store on the Clipboard (equivalent to the Copy Ruler command)

⌥ Option + ⌘ Cmd + D

Show or hide the Dock

⌘ Cmd + Control + D

Display the definition of the selected word in the Dictionary application

⌘ Cmd + E

Use the selection for a find operation

⌘ Cmd + F

Open a Find window (equivalent to the Find command)

⌥ Option + ⌘ Cmd + F

Jump to the search field control

⌘ Cmd + G

Find the next occurrence of the selection (equivalent to the Find Next command)

↑   Shift + ⌘ Cmd + G

Find the previous occurrence of the selection (equivalent to the Find Previous command)

⌘ Cmd + H

Hide the windows of the currently running application (equivalent to the Hide ApplicationName command)

⌥ Option + ⌘ Cmd + H

Hide the windows of all other running applications (equivalent to the Hide Others command)

⌘ Cmd + I

Italicize the selected text or toggle italic text on or off (equivalent to the Italic command)

⌘ Cmd + I

Display an Info window

⌥ Option + ⌘ Cmd + I

Display an inspector window

⌘ Cmd + J

Scroll to a selection

⌘ Cmd + M

Minimize the active window to the Dock (equivalent to the Minimize command)

⌥ Option + ⌘ Cmd + M

Minimize all windows of the active application to the Dock (equivalent to the Minimize All command)

⌘ Cmd + N

Open a new document (equivalent to the New command)

⌘ Cmd + O

Display a dialog for choosing a document to open (equivalent to the Open command)

⌘ Cmd + P

Display the Print dialog (equivalent to the Print command)

↑   Shift + ⌘ Cmd + P

Display a dialog for specifying printing parameters (equivalent to the Page Setup command)

⌘ Cmd + Q

Quit the application (equivalent to the Quit command)

↑   Shift + ⌘ Cmd + Q

Log out the current user (equivalent to the Log Out command)

↑   Shift + ⌥ Option + ⌘ Cmd + Q

Log out the current user without confirmation

⌘ Cmd + S

Save the active document (equivalent to the Save command)

↑   Shift + ⌘ Cmd + S

Display the Save dialog (equivalent to the Save As command)

⌘ Cmd + T

Display the Fonts window (equivalent to the Show Fonts command)

⌥ Option + ⌘ Cmd + T

Show or hide a toolbar (equivalent to the Show/Hide Toolbar command)

⌘ Cmd + U

Underline the selected text or turn underlining on or off (equivalent to the Underline command)

⌘ Cmd + V

Insert the Clipboard contents at the insertion point (equivalent to the Paste command)

⌥ Option + ⌘ Cmd + V

Apply the style of one object to the selected object (equivalent to the Paste Style command)

⌥ Option + ⌘ Cmd + ⌘ Cmd + V

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

Control + ⌘ Cmd + V

Apply formatting settings to the selected object (equivalent to the Paste Ruler command)

⌘ Cmd + W

Close the active window (equivalent to the Close command)

↑   Shift + ⌘ Cmd + W

Close a file and its associated windows (equivalent to the Close File command)

⌥ Option + ⌘ Cmd + W

Close all windows in the application (equivalent to the Close All command)

⌘ Cmd + X

Remove the selection and store on the Clipboard (equivalent to the Cut command)

⌘ Cmd + Z

Reverse the effect of the user's previous operation (equivalent to the Undo command)

↑   Shift + ⌘ Cmd + Z

Reverse the effect of the last Undo command (equivalent to the Redo command)

⌘ Cmd +

Change the keyboard layout to current layout of Roman script

↑   Shift + ⌘ Cmd +

Extend selection to the next semantic unit, typically the end of the current line

↑   Shift +

Extend selection one character to the right

↑   Shift + ⌥ Option +

Extend selection to the end of the current word, then to the end of the next word

Control +

Move focus to another value or cell within a view, such as a table

⌘ Cmd +

Change the keyboard layout to current layout of system script

↑   Shift + ⌘ Cmd +

Extend selection to the previous semantic unit, typically the beginning of the current line

↑   Shift +

Extend selection one character to the left

↑   Shift + ⌥ Option +

Extend selection to the beginning of the current word, then to the beginning of the previous word

Control +

Move focus to another value or cell within a view, such as a table

↑   Shift + ⌘ Cmd +

Extend selection upward in the next semantic unit, typically the beginning of the document

↑   Shift +

Extend selection to the line above, to the nearest character boundary at the same horizontal location

↑   Shift + ⌥ Option +

Extend selection to the beginning of the current paragraph, then to the beginning of the next paragraph

Control +

Move focus to another value or cell within a view, such as a table

↑   Shift + ⌘ Cmd +

Extend selection downward in the next semantic unit, typically the end of the document

↑   Shift +

Extend selection to the line below, to the nearest character boundary at the same horizontal location

↑   Shift + ⌥ Option +

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 +

Move focus to another value or cell within a view, such as a table

For more information about Xcode keyboard shortcuts, refer to Apple documentation.

Share this page on:

Program information

Program name: Xcode (Imaging)

Xcode is an IDE containing suite of development tools for developing macOS, iOS, watchOS and tvOS applications. It can be downloaded via Mac App Store for free. Xcode was first released in 2003.

Web page: https://developer.apple.com/xc...

Shortcut count: 262

Similar programs


  1. Keyboard symbolsKeyboard symbols
    38290    1
  2. Grand Theft Auto VGrand Theft Auto V
    31896   
  3. Apex Legends (PC)Apex Legends (PC)
    31751   
  4. Fortnite (PC)Fortnite (PC)
    29589    2
  5. PlayerUnknown's BattlegPlayerUnknown's Battleg
    29098    2
  6. The Sims 4The Sims 4
    26801    3
More keyboard shortcuts...

Latest articles

Advertisement

  Subscribe to our mailing list!

Useful technology tips and keyboard shortcuts will appear in your inbox.

Your email is kept private and we don't spam.

What is your favorite Xcode hotkey? Do you have any useful tips for program? Let other users know below.