Xcode常用的快键键

2018-12-10  本文已影响0人  你好小老虎

1.  跳转到指定行                                                                         command + L

2. 可以直接跳转到某个方法定义或者指定的代码文件               command + shift + O

3. 上下移动一行或多行代码                                                       command + option + [   又或者  ]

4. 快速打开Assistant Editor按住(需要哪个点那个)                     option

5. 全部搜索                                                                                 command + shift + F

6. 清除缓存                                                                                 command + shift + K

7. 最近偏爱                                                                                 command + shift + J

8. 打开/隐藏调试区域                                                                  command + shift + Y

9. 文档和参考                                                                              command + shift + 0 (Zero)

10. 快速添加方法注释                                                                 command +  option + /

11. 本类搜索                                                                                command + F

12. 程序中(Objective-C或C++编写).h / .m文件间的快速切换     control + command + Up Arrow

13. 调试程序                                                                               command + R

14. 显示/隐藏导航器面板                                                            command + 0

15. 文件跳转栏 (键入方法/变量名+Enter跳转)                            control + 6

16. 显示/隐藏实用工具面板                                                        command + option + 0

17. 中止任务(编译/清理)                                                             command + .

18. 跳转到方法                                                                           control + 6

19. 自动缩进                                                                               control + I(字母)

20. 构建应用程序                                                                       command + B

上一篇 下一篇

猜你喜欢

热点阅读