how to indent continued function parameters with uncrustify?

Consider this code:

some_function(1, 2
  3);
some_function(
  1, 2, 3);

Is there a way to make uncrustify indent the second line so that the 3 is in the column after the (? Preferably without changing the indent on the fourth line?

The doc makes it sound like indent_func_call_param = false should have the desired effect, but I've tried both true and false with no effect. (And yes, use_indent_func_call_param is true.)

I'm using Uncrustify-0.67-54-21651401...

Answers

Per CDanU's comment, the answer is: don't set indent_continue.

Posted on by Matthew

Relevant tags