Luda
Luda

Reputation: 7068

Uncrustify obj-c: Add newline between parameters in function declaration

I am looking for some configuration to make this code

- (void)myFunctionWithParameter:(NSString *)param1 secondParameter:(NSString *)param2
{

}

to:

- (void)myFunctionWithParameter:(NSString *)param1 
                secondParameter:(NSString *)param2
{

}

The alignment is align_oc_decl_colon. I am looking for a property to add newline between parameters

Upvotes: 0

Views: 231

Answers (1)

user2482270
user2482270

Reputation: 11

You can try the nl_func_def_args option, setting it to force or to add a newline.

Upvotes: 1

Related Questions