BracketAlignmentStyle: break before closing brace

By combining the AlignAfterOpenBracket ( BracketAlignmentStyle ) parameter with BinPackArguments and BinPackParameters set to false , you can get the following formatting:

 someShortFunction(argument); someVeryVeryVeryLongFunction( argument1, argument2, argument3, argument4); 

However, like BreakBeforeBraces , I would like to break before the closing parenthesis:

 someShortFunction(argument); someVeryVeryVeryLongFunction( argument1, argument2, argument3, argument4 ); 

Is this possible with existing parameters?

+5
source share

Source: https://habr.com/ru/post/1273360/


All Articles