我有一块看起来像这样的客观c代码
[paths enumerateObjectsUsingBlock:^(NSString * path, NSUInteger idx, BOOL * stop) {
BOOL isDir;
if ([fm fileExistsAtPath:path isDirectory:&isDir]) {
......
}
}];
然而,在通过Uncrustify之后,它变成了
[paths enumerateObjectsUsingBlock:^(NSString * path, NSUInteger idx, BOOL * stop) {
BOOL isDir;
if ([fm fileExistsAtPath:path isDirectory:&isDir]) {
......
}
}];
有没有让Uncrustify将两个缩进合并为一个并保留代码的格式?
答案 0 :(得分:0)
我相信这个问题已在Uncrustify 0.58中得到修复