0

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

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Ahmet Gulden
  • 2,063
  • 2
  • 15
  • 23

1 Answers1

2

I suggest https://github.com/square/spacecommander.

Possible duplicate of Can Uncrustify align colons in Objective-C method calls?

Community
  • 1
  • 1
John Wong
  • 342
  • 2
  • 10