Daniel Lyons' Notes

Keyboard Shortcuts in Xcode

Sources

Shortcuts

  • Command-Shift-F (⌘⇧F) - Opens the Find navigator
  • Command (⌘) + click on disclosure arrow - Collapses all siblings of a file in outline views
  • Command-E (⌘E) - Inserts selected text into the Find field without clearing the clipboard
  • Command-Shift-J (⌘⇧J) - Finds the current file in the project navigator
  • Command-X (⌘X) - Cuts the contents of a file to the clipboard
  • Command-Shift-O (⌘⇧O) - Opens the "Open Quickly" dialog
  • Command-Shift-A (⌘⇧A) - Opens the quick actions menu
  • Command-click - Invokes "Jump to Definition"
  • Option-click - Invokes "Show quick help"
  • Command-Control-E (⌘⌃E) - Edits all occurrences of a symbol in the current file
  • Control-M (⌃M) - Reformats a function to multiple lines
  • Option (⌥) + arrow keys - Moves by word
  • Control (⌃) + arrow keys - Moves by subword
  • Command-Left (⌘←) or Command-Right (⌘→) - Moves to the beginning or end of a line
  • Control-Shift (⌃⇧) + click - Creates multiple cursors
  • Command-U (⌘U) - Runs all tests in the project
  • Command-6 (⌘6) - Opens the test navigator
  • Command-Control-Option-G (⌘⌃⌥) - Reruns the previous tests
  • Command-Control-U (⌘⌃U) - Tests without building
  • Command-Option-Shift-O (⌘⇧⌥) - Opens the Organizer
Keyboard Shortcuts in Xcode
Interactive graph
On this page
Sources
Shortcuts