Xcode快捷键 2(转)

⌘ (Command)

⌃ (Control)

⌥ (Option)

⇧ (Shift)

全局搜索

如果你只想学一个快捷键的话这个足以.

⌃ + ⌘ + / - Search help

文本编辑

行移动

⌥ + ⌘ + [ - Move Line Up

⌥ + ⌘ + ] - Move Line Down

全选编辑

⇧ + ⌘ + e - Edit All in Scope

Placeholder跳转

⌃ + / - Jump to next placeholder

⌃ + ⇧ + / - Jump to previous placeholder

格式化

⌃ + i - Re-indent code

选择你要格式化的行然后执行这个命令,you are all set

Debuggeging

设置断点

⌘ + \ - Add Breakpoint at Current Line

⌘ + \ - Remove Breakpoint at Current Line

清空debugger 窗口

⌘ + k - Clear Console

文件

快速打开

⇧ + ⌘ + o - Open Quickly

支持查询模糊搜索以及行搜索

转自:http://diwu.me/2013/03/05/xcode-shortcuts/

原文地址:https://www.cnblogs.com/yingkong1987/p/3065228.html