xCode快捷键

来源:互联网 发布:淘宝电子发票如何生成 编辑:程序博客网 时间:2024/06/05 03:13

1.头文件与源文件切换

ctrl+ Command+      或     , ctrl+ Command+


2.代码缩进
左缩进 command+[
右缩进 command+]



3.代码编辑(选中代码)
control + F:    向右选中一个字符(forward)
control + B:    向左选中一个字符(backward)
control + P:    选中前一行(previous)
control +N:    选中后一行(next)
control + A:     从光标处选中到行首
control + E:     从光标处选中到行尾(end)


Command + A: 全选
Command + C: 复制
Command + V: 粘贴
Command + X: 剪切
Command + Z: 撤销

Shift + Command + Z: 撤销刚才的“撤销”动作

0 0