Keyboard Shortcuts for Xcode

Are you finding the Keyboard shortcuts for Xcode? Xcode provides shortcuts to help you quickly work on documents. Here is the list of all shortcuts that you can use. This post will help you to check and make your work faster with the most used.

General Shortcuts 

Keyboard shortcut (Mac)Menu Description
Command+,Preferences
Command+Shift+CConsole
Command+Shift+0Documentation
Command+Ctrl+?Documentation fo Selected Text
Command+?Quick Help

Code Editing 

Keyboard shortcut (Mac) Menu Description
Command+/Comment Selection
Command+Option+Left ArrowFold Method/Class
Command+Option+Right ArrowUnfold Method/Class
Command+Ctrl+EEdit All in Scope
Ctrl+SpacebarShow Completions
Ctrl+.Next Completion
TabAccept Completion
Ctrl+/Next Placeholder
Ctrl+Shift+/Previous Placeholder

Build and Run 

Keyboard shortcut (Mac) Menu Description
Command+BBuild
Command+Shift+BAnalyse
Command+RRun
Command+IProfile
Command+UTest
Command+KClear Console
Command+Shift+KClean

File Navigation 

Keyboard shortcut (Mac) Menu Description
Command+Ctrl+Right ArrowGo Forward
Command+Ctrl+Left ArrowGo Backward
Command+Shift+OOpen Quickly
Ctrl+1Show Related Items

Debugging 

Keyboard shortcut (Mac) Menu Description
Command+’Next Issue
Command+”Previous Issue
Command+Ctrl+’Fix Next Issue
Command+Ctrl+”Fix Previous Issue
Command+\Add BreakPoint
Command+YActivate Breakpoint

Code Navigation 

Keyboard shortcut (Mac) Menu Description
Command+Left ArrowBeginning of Line
Command+Right ArrowEnd of Line
Command+Up ArrowTop of File
Command+Down ArrowEnd of File
Option+Left ArrowPrevious Word
Option+Right ArrowNext Word
Ctrl+Left ArrowPrevious SubWord
Ctrl+Right ArrowNext SubWord
Command+LGo to Liner
Command+FFind in File
Command+Shift+FFind in Project
Command+GFind Next
Command+Shift+GFind Previous

Libraries 

Keyboard shortcut (Mac) Menu Description
Command+Ctrl+Option+1File Template
Command+Ctrl+Option+2Code Snippet
Command+Ctrl+Option+3Object
Command+Ctrl+Option+4Media

Other Shortcuts 

Keyboard shortcut (Mac) Menu Description
Command+Option+1..6Switch Inspector
Command+Option+0Toggle Utilities
Command+Option+LFilter in Library
Command+Option+ReturnShow Assistant Editor
Command+Option+Shift+ReturnShow Version Editor
Command+ReturnShow Standard Editor
Command+Shift+YToggle Debug Area
Command+1..7Switch Navigators
Command+0Toggle Navigators
Command+Option+JFilter in Navigator

More Shortcuts:

  Adobe Lightroom Keyboard Shortcuts

Well, there you have it, Xcode shortcuts list. You might not have known about these shortcuts. If I’ve left important something out in this list, feedback is appreciated and welcome on the Make A Public List.

Feel free to comment below.

Was this article helpful?
YesNo

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.