align_left_shift
Whether to align lines that start with '<<' with previous '<<'.
Possible values are true or false, default true.
Examples
true
Code before:
int main()
{
int X = 25;
std::cout << "X is: " << '\n'
<< " :" << X
<< '\n';
return 0;
}
Code after:
int main()
{
int X = 25;
std::cout << "X is: " << '\n'
<< " :" << X
<< '\n';
return 0;
}
false
With example above false setting does not apply changes and "after" is the same as "before".
See also
- indent_class: Whether the '
class
' body is indented. - indent_shift: Whether to indent continued shift expressions ('<<' and '>>') instead of aligning.