ios 代码格式排版快捷键

来源:互联网 发布:澳门网络博客官方 编辑:程序博客网 时间:2024/05/01 07:57

Xcode  版本:4.2和4.2之前的版本

             选中需要格式化代码 -> Edit -> Format ->Re-Indent

Xcode 版本:4.2之后的版本

             选中需要格式化代码 -> Editor -> Structure ->Re-Indent       或者

             选中需要格式化代码 -> 右击 ->选中 Structure ->Re-Indent

原创粉丝点击