top of page
Writer's pictureCasper Andersen

Essential xcode keyboard shortcuts

I made a quick overview of the most essential xcode keyboard shortcuts It is part of my series of productivity enhancement keyboard shortcuts for productivity software.


Essential xcode keyboard shortcuts




Xcode keyboard shortcuts pdf

Click download pdf version to print.




General Commands

  • New Project: Cmd + Shift + N

  • Open Project: Cmd + O

  • Save: Cmd + S

  • Close Project: Cmd + W

  • Undo: Cmd + Z

  • Redo: Cmd + Shift + Z


Navigation

  • Open Quickly: Cmd + Shift + O

  • Jump to Definition: Cmd + Ctrl + J

  • Back: Cmd + [

  • Forward: Cmd + ]

  • Open File in Assistant Editor: Cmd + Option + Return

  • Show All Tabs: Cmd + Shift + T


Editing

  • Duplicate Line: Cmd + D

  • Delete Line: Cmd + Ctrl + K

  • Comment/Uncomment Line: Cmd + /

  • Move Line Up: Cmd + Option + [

  • Move Line Down: Cmd + Option + ]

  • Indent Code: Cmd + ]

  • Outdent Code: Cmd + [

  • Fold/Unfold Code Block: Cmd + Option + Left/Right Arrow

  • Select Word: Option + Double-Click


Build and Run

  • Run: Cmd + R

  • Stop: Cmd + .

  • Build: Cmd + B

  • Clean: Cmd + Shift + K

  • Test: Cmd + U


Debugging

  • Toggle Breakpoint: Cmd + \

  • Step Over: F6

  • Step Into: F7

  • Step Out: F8

  • Continue: Cmd + Ctrl + Y


Interface Builder

  • Show/Hide Document Outline: Cmd + Option + 0

  • Align Objects: Cmd + Option + A

  • Pin Constraints: Cmd + Option + P

  • Resolve Auto Layout Issues: Cmd + Option + Shift + R


Searching

  • Find in File: Cmd + F

  • Find and Replace in File: Cmd + Option + F

  • Find in Workspace: Cmd + Shift + F

  • Replace in Workspace: Cmd + Option + Shift + F


Version Control

  • Commit Changes: Cmd + Option + C

  • Push Changes: Cmd + Option + P

  • Pull Changes: Cmd + Option + X


View and Panels

  • Toggle Debug Area: Cmd + Shift + Y

  • Toggle Navigator Area: Cmd + 0

  • Toggle Utilities Area: Cmd + Option + 0

  • Show/Hide Minimap: Cmd + Shift + M

  • Full Screen: Ctrl + Cmd + F

3 views0 comments

Recent Posts

See All

Comments


bottom of page