作者:shLuckySeven 链接:www.jianshu.com/p/21cb8f687… 来源:简书
- 记性不好,记录一下,方便以后查看。
#pragma mark-command系列
command + 1-9 分别对应Xcode最左侧项目目录最上面的九个功能
command + 0 隐藏Xcode最左侧导航栏
command + H 隐藏当前窗口
command + I 工具选项,可以查看app 性能
command + J 焦点切换
command + L 输入行号,定位到行号所在行
command + M 最小化
command + O 打开当前文件所在的系统目录
command + W 关闭当前window
command + Y 全局激活或禁用所有的断点
command + [ 向前缩进
command + ] 向后缩进
command + \ 当前行设置/取消断点
command + . 停止运行
command + < 编辑scheme
command + ↑ 光标移到文件首行
command + ↓ 光标移到文件末行
command + ← 光标移到行首
command + → 光标移到行末
command + left-click 快速去到当前方法的位置
#pragma mark-command+shift系列
command + shift + 0 文档和参考
command + shift + F 全局查找 = command + 3
command + shift + J 在最左侧项目导航中,定位当前类文件
command + shift + K 清除工程
command + shift + N 新建工程
command + shift + O 快速查找工程内的内容
command + shift + Y 显示/隐藏控制台
#pragma mark-command+option系列
command + option + 1/2 最右端导航栏的两个功能模块
command + option + 0 显示/隐藏实用工具面板
command + option + ← 折叠某一函数或条件分支
command + option + → 展开某一函数或条件分支
command + option + [ 向上移动此行
command + option + ] 向下移动此行
#pragma mark-command+control系列
command + control + ↑ 切换当前类的.h/.m文件
command + control + ↓ 切换当前类的.h/.m文件
#pragma mark-control系列
control + 6 查看当前类的所有方法列表
control + A 移动光标到本行行首
control + E 移动光标到本行行末
control + N 移动光标到下一行
control + P 移动光标到上一行
control + T 交换光标左右两边的字符
#pragma mark-option系列
option + ← 光标移到上一个单词头部
option + → 光标移到下一个单词尾部
作者:shLuckySeven 链接:www.jianshu.com/p/21cb8f687… 来源:简书 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。