I have a block of object code c that looks like
[paths enumerateObjectsUsingBlock:^(NSString * path, NSUInteger idx, BOOL * stop) {
BOOL isDir;
if ([fm fileExistsAtPath:path isDirectory:&isDir]) {
......
}
}];
However, after going through Uncrustify it becomes
[paths enumerateObjectsUsingBlock:^(NSString * path, NSUInteger idx, BOOL * stop) {
BOOL isDir;
if ([fm fileExistsAtPath:path isDirectory:&isDir]) {
......
}
}];
Is there a way to make Uncrustify collapse two indents into one and keep the code formatting?
source
share