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
  • 307,833
  • 40
  • 508
  • 550
Ahmet Gulden
  • 2,053
  • 2
  • 14
  • 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
  • 345
  • 2
  • 9