1
有没有在 xcode 上 Objective-C 的格式调整工具啊?
source link: https://www.v2ex.com/t/862855
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
刚刚开始写 oc ,格式被吐槽了好多次,但是已经习惯了 Android studio 一键调整格式的方式,xcode 原生好像只支持调整缩进,问问大佬们,有没有美化空格,缩进的插件?
10 条回复 • 2022-06-29 11:17:47 +08:00
fengzeyan 2 小时 30 分钟前 AppCode
|
wkmike 2 小时 16 分钟前 clang-format + 自动化服务
|
xtinput 2 小时 15 分钟前 xcformat ,我把它源码拉下来了
|
plusend 2 小时 13 分钟前 XCFormat
App Store 可以安装。支持 Swift 和 Objective-C 的格式化。 |
greatjambo 2 小时 11 分钟前 @fengzeyan appcode 太占用内存了,我们工程比较大,编译用 m1 pro 要 1.5h+
|
greatjambo 2 小时 10 分钟前 @icyalala nice !感谢大佬,主要是没啥好习惯,有的时候漏了或者打多了空格,自己也比较难发现就交上去了。然后就被疯狂吐槽……
|
greatjambo 2 小时 9 分钟前 @wkmike 这个我研究过,好像没有最近的安装教程了,怕有坑。
|
JHExp 1 小时 38 分钟前 前段时间换工作也重新开始写 OC, XCFormat 好像对 OC 支持的不好
最后用的这个: https://github.com/mapbox/XcodeClangFormat 配合自定义 clang-format 感觉可以 |
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK