美文网首页
Xcode9 常用快捷键

Xcode9 常用快捷键

作者: 谭冉冉 | 来源:发表于2018-01-13 18:21 被阅读52次

方法注释

Command+ Option + /

代码折叠

局部折叠(折叠一个函数) : Command+Option+Left/Right
全局折叠(折叠当前文件下的全部函数) : Shift+Command+Option+Left/Right
折叠注释块:(/* */之间的文字) : Ctrl+Shift+Command+Left/Right
当前文件的所有方法 : Command+Option+Shift+Left/Right

格式化代码

选中要格式化的代码:Control+I

相关文章

网友评论

      本文标题:Xcode9 常用快捷键

      本文链接:https://www.haomeiwen.com/subject/uhthoxtx.html