简体   繁体   中英

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...

根据CDanU的评论,答案是:不要设置indent_continue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM