Clang-format stream output

clang-format formats my code as follows:

std::cout << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1; 

but my leadership style requires:

 std::cout << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1 << 1; 

I tried to set BreakBeforeBinaryOperators: None and AlignOperands: false, but that didn't help me. Are there any other options?

+5
source share

All Articles