XCode shortcut Mark Note

ChenChen Lee
2 min readNov 6, 2020

At first,I want to list some basic use of XCode shortcut, it will help us improve of the efficiency of work , the following as it. Maybe help to you.

Basic Use:

  • Build: ⌘ + B
  • Run: ⌘ + R
  • Test: ⌘ + U
  • Stop: ⌘ + .
  • Clean: ⌘ + ⇧ + K
  • Clean the build folder: ⌘ + ⇧ + ⌥ + K
  • Open quickly: ⇧ + ⌘ + O
  • Code completion: ⌃ + Space

Some good use of shortcut you maybe don’t know. Let’s see it~

  • Adding a secondary editor
Shortcut: ⌃ + ⌘ + T(Control + Command + T)
  • Adding a new window of editor
Shortcut: ⌘ + T(Command + T)
  • Focusing current editor
Shortcut: ⇧ + ⌃ + ⌘ + ↩(Shift + Control + Command + Enter)
  • Search project files of global.
Shortcut: ⇧ + ⌘ + O
(Shift + Command + O(not zero))
#If you want open a file in a new window. You can click the file press the option button(⌥).Shortcut: ⇧ + ⌘ + O [press option btton(⌥) if you want open it in a new window]
  • Fix All Error In-Scope
Shortcut: ⌃+ ⌥ + ⌘ + F( Control + Option + Command + F)
  • Multiple Cursors on Multiple Selections
Shortcut: ⌥ + ⌘ + E(Option + Command + E)
  • Jump to Method List
#When you at a file extention of m, you can user shortcut ^ + 6 to find the method list.Shortcut: ⌃ + ⌘ + J( Control + Command + J)
  • Find call Hierarchy
#To quickly to find the  calll hierarchy of the selected symbol, be it a method or an instance, just use the following shortcut. It opens the call hierarchy in the project navigator.Shortcut: ⇧ + ⌃ + ⌘ + H(Shift + Control + Command + H)

--

--