IDE

🔨Xcode Keyboard Shortcuts

26 essential shortcuts for Xcode

Navigation

ShortcutAction
⌘⇧OOpen Quickly (find files/symbols)
⌘0Toggle Navigator panel (left)
⌘⌥0Toggle Inspector panel (right)
⌘1–⌘9Switch Navigator tabs
⌃6Jump to method/symbol in file
⌘LGo to line number
⌘⇧JReveal current file in Navigator
⌃⌘↑/⌃⌘↓Switch between .h and .m / counterpart
⌘ClickJump to definition
⌥ClickShow Quick Help for symbol

Editing

ShortcutAction
⌘/Toggle line comment
⌘⌥[/⌘⌥]Move line up / down
⌃IRe-indent selected code
⌘⌥/Add documentation comment

Refactoring

ShortcutAction
⌘⌥EEdit all in scope (rename local)

Build & Run

ShortcutAction
⌘RRun application
⌘BBuild project
⌘URun unit tests
⌘.Stop running application
⌘⇧KClean build folder

Debugging

ShortcutAction
⌘\Toggle breakpoint at current line
⌘YActivate/deactivate breakpoints
F6Step over
F7Step into
⌃⌘YContinue execution
⌘⇧YToggle Debug Area

About Xcode Shortcuts

Xcode is Apple's integrated development environment for macOS, used to develop software for Apple platforms including iOS, iPadOS, macOS, watchOS, and tvOS. Xcode includes a source editor, Interface Builder, debugging tools, Instruments for performance analysis, and simulators for Apple devices. Its keyboard shortcuts are optimized for the Apple development workflow from writing Swift/Objective-C code to building, testing, and deploying apps.

This reference covers 26 essential Xcode keyboard shortcuts organized across 5 categories: Navigation, Editing, Refactoring, and more. Each shortcut lists both macOS and Windows/Linux key combinations where applicable, making it easy to find the right key combo regardless of your operating system.

Learning keyboard shortcuts is one of the highest-leverage investments you can make in your daily workflow. Studies show that developers and designers who rely on keyboard shortcuts are measurably faster at common tasks. Rather than memorizing every shortcut at once, focus on the ones you use most frequently and gradually expand your repertoire.

Bookmark this page for quick reference whenever you need to look up a Xcode shortcut. The categorized layout makes it easy to find shortcuts by their function, whether you need navigation, editing, or specialized commands.

Related apps