Xcode Shortcuts

Description:⌘: Command     ⌥: Option     ⌃: Control    ←↑↓→: Left, Up, Down, Right
                   ⌫: Delete     ↩: Enter     ⇧: Shift     →|: Tab     ⇪: Caps Lock

Workspace
 Preferences : ⌘ + , 

Selecting Files
    File History popup:     ⌃ 1
    Previous file:     ⌘ ⌃ ←      Next file:    ⌘ ⌃ →
    Toggle .h and .m:     ⌘ ⌃ ↑   /     ⌘ ⌃ ↓ 
    Open quickly:     ⌘ ⇧ O

Building & Running
   Build:     ⌘ B
   Run:      ⌘ R
   打开和关闭调试窗口:     ⌘ ⇧ Y
   调试继续:   ⌘ ⇧ P
   调试跳过:   ⌘ ⇧ O
   调试进入:   ⌘ ⇧ L
   调试跳出:   ⌘ ⇧ T
   清理:     ⌘ ⇧ K

Code Navigation
     Next word:     ⌥   →         Previous word:      ⌥ ←
     End of line:     ⌘ →         Beginning of line:      ⌘ 
     Top of file:     ⌘ ↑          Bottom of file:      ⌘ 
     Goto line:      ⌘ L
     Function popup:     ⌃ 2
     Single file find:     ⌘ F
     Find next:     ⌘ G          Find previous :     ⌘ ⇧ G
     Project find:     ⌘ ⇧ F
     隐藏和打开左边的文件导航:     ⌘ 0
     切换文件导航里面的细分目录:     ⌘ 1,2...

Code Editing
     Fold method/class:      ⌘ ⌥  ←           Unfold method/class:      ⌘ ⌥ →
     一行内容的上下移动:⌘ ⌥ [           ⌘ ⌥ ]
     选中一的左右部分行: ⌘ ⇧ ←        ⌘ ⇧ →
     选中光标左右边的单词: ⌥ ⇧ ←     ⌥ ⇧ →
     光标前后移动一个字符: ⌃ F          ⌃ B
     删除光标后的一个字符:     ⌃ D
     删除一行光标右边的内容:  ⌃ K
     删掉整个变量:     ⌥  ⌫
     删掉半个单词:     ⌃ ⌫
     左右缩进:     ⌘ [          ⌘ ]
     参数提示:     ⌘ .
     快速浏览当前文件成员:     ⌘ 2
     注释掉一行:     ⌘ /

Documentation
   Doc for symbol: ⌥ + (double click)
   Documentation: ⇧ + ⌥ + ⌘ + ?

原文地址:https://www.cnblogs.com/eileenleung/p/3505109.html