'Uncrustify: Function's arguments inside switch - out of range
Function's arguments inside switch are wrong formatted. Longest line in this case ends in column 193 , although set 'code_width = 120' I hope it's my fault in config formatter.
int mian(void)
{
switch (event) {
case foo:
Bar(foo,
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras nunc diam, eleifend nec posuere at, viverra vitae velit %d, %d, %d", parameterA, parameterB, parameterC, parameterD,
parameterE);
break;
default:
break;
}
}
code_width = 120
# nl_func_call_args_multi_line = true # not used
# nl_func_call_args = ignore # not used
Maybe someone had same issue?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
