C++ Align both multiline string and binary operator

Hi,

I'm trying to align strings in C++, like in code section below.

auto string = "first line"
"second line"
"left" + QString::number(10) + "right"
"last line"

Or maybe like this

auto string ="first line"
"second line"
"left" + QString::number(10) + "right"
"last line"

but even when i disabled all "align when multiline" checkboxes in settings, formatter (ctrl+alt+L by default) doing this:

auto string = "first line"
"second line"
"left" + QString::number(10) + "right"
"last line"

I want last line to be aligned with first element above, or not aligned at all. How can I achieve this?

Thank you!

0

Please sign in to leave a comment.