Ahmet Gulden
Ahmet Gulden

Reputation: 2073

Uncrustify ignore formatting new line at long objective c method decleration

I want uncrustify to ignore new lines which is formatted by developer but with my config file it does not do this.

What my code looks like and i want it unchanged

+ (void)doSometingAwesomeWithIndex:(NSInteger)index
                  howManyDaysLater:(BOOL)howManyDaysLater
                           myBroes:(NSMutableArray *)broes
                        completion:(AwesomeBlock)completionBlock

What uncrustify does when it formats

+ (void)doSometingAwesomeWithIndex:(NSInteger)index
    howManyDaysLater:(BOOL)howManyDaysLater
    myBroes:(NSMutableArray *)broes
    completion:(AwesomeBlock)completionBlock

I am using uncrustify 0.61 and my config file is http://www.megafileupload.com/edbM/uncrustify.cfg

Upvotes: 0

Views: 296

Answers (1)

Related Questions