You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have the option in clang-format to always show one parameter per line for a function declaration. At present, when BinPackParameters is false and the function declaration exceeds the current ColumnLimit, this occurs. For example, for: void myFunction(int param1, int param2, int param3, int param4, int param5, int param6, int param7)
If ColumnLimit is 80, clang-format will convert it to:
void myFunction(int param1,
int param2,
int param3,
int param4,
int param5,
int param6,
int param7)
Having the option to make this happen when you have more than X parameters (regardless of line length) would be a great step forward.
G-Harmon, DGTB, MangaD, HantaoPan, pjanetzek and 24 more