如何在使用 uncrustify 调用 super 后添加换行符
当前的:
- (void)someFunction
{
[super someFunction];
more stuff;
and more stuff;
}
期望:
- (void)someFunction
{
[super someFunction];
more stuff;
and more stuff;
}
以及如何在接口声明和实现声明之前和之后添加换行符
当前的:
@interface SCLoginScreenViewController ()
@property (weak, nonatomic) IBOutlet UIView *someView;
@property (weak, nonatomic) IBOutlet UIView *anotherView;
@end
@implementation SCLoginScreenViewController
- (void)someFunction
{
}
期望:
@interface SCLoginScreenViewController ()
@property (weak, nonatomic) IBOutlet UIView *someView;
@property (weak, nonatomic) IBOutlet UIView *anotherView;
@end
@implementation SCLoginScreenViewController
- (void)someFunction
{
}
- 我正在使用 BBUncrustifyPlugin 和 UncrustifyX