Come posso aggiungere nuova riga dopo la chiamata a super con UncrustifyUncrustify obj-c: Newline prima e dopo la chiamata a super, dichiarazione di interfaccia e l'implementazione dichiarazione
attuale:
- (void)someFunction
{
[super someFunction];
more stuff;
and more stuff;
}
desiderata:
- (void)someFunction
{
[super someFunction];
more stuff;
and more stuff;
}
e come posso aggiungere nuova riga prima e dopo interfa Dichiarazione CE e l'attuazione dichiarazione
attuale:
@interface SCLoginScreenViewController()
@property (weak, nonatomic) IBOutlet UIView *someView;
@property (weak, nonatomic) IBOutlet UIView *anotherView;
@end
@implementation SCLoginScreenViewController
- (void)someFunction
{
}
desiderata:
@interface SCLoginScreenViewController()
@property (weak, nonatomic) IBOutlet UIView *someView;
@property (weak, nonatomic) IBOutlet UIView *anotherView;
@end
@implementation SCLoginScreenViewController
- (void)someFunction
{
}
- Sto usando BBUncrustifyPlugin e UncrustifyX
A quanto pare, è necessario creare un Plugin che possa farlo !! – itsji10dra
@RoNiT, C'è già un plugin - BBUncrustifyPlugin. La domanda è quale opzione su 250 usare – Luda