2

If I have a function like this:

- (id)init {
    self = [super init];
    if(self){

    }
    return self;
}

and I want uncrustify to output this:

- (id)init{
    self = [super init];
    if(self){

    }
    return self;
}

What options would I need to set? I can't seem to find a brace option for the end of the function name. I've noticed that it will add a space there, but I can't find the option that's doing it.

Cory Imdieke
  • 14,140
  • 8
  • 36
  • 46

1 Answers1

3

It looks like

sp_fparen_brace remove

Should do it according to this: http://uncrustify.sourceforge.net/config.txt

powerj1984
  • 2,216
  • 1
  • 22
  • 34