0

我希望 uncrustify 忽略由开发人员格式化的新行,但使用我的配置文件它不会这样做。

我的代码是什么样的,我希望它保持不变

+ (void)doSometingAwesomeWithIndex:(NSInteger)index
                  howManyDaysLater:(BOOL)howManyDaysLater
                           myBroes:(NSMutableArray *)broes
                        completion:(AwesomeBlock)completionBlock

uncrustify 格式化时的作用

+ (void)doSometingAwesomeWithIndex:(NSInteger)index
    howManyDaysLater:(BOOL)howManyDaysLater
    myBroes:(NSMutableArray *)broes
    completion:(AwesomeBlock)completionBlock

我正在使用 uncrustify 0.61,我的配置文件是http://www.megafileupload.com/edbM/uncrustify.cfg

4

1 回答 1

2

我建议https://github.com/square/spacecommander

在 Objective-C 方法调用中是否可能重复Can Uncrustify 对齐冒号?

于 2016-01-07T15:13:35.207 回答