【发布时间】:2014-03-26 14:21:14
【问题描述】:
我的 -rather extense-Uncrustify Configuration 有问题。我正在使用 Xcode 自动运行 Uncrustify。
出于某种原因,Uncrustify 似乎在块声明的右大括号之前添加了一个空格。
示例输入
[_collectionView performBatchUpdates:nil completion:^(BOOL finished) {
}];
示例输出(注意右大括号前的 forced 空格)
[_collectionView performBatchUpdates:nil completion:^(BOOL finished) {
}];
期望的输出
[_collectionView performBatchUpdates:nil completion:^(BOOL finished) {
}];
我该如何解决这个问题?
【问题讨论】:
标签: objective-c xcode5 indentation uncrustify