[Qt-creator] alignment with raw string while streaming

Cristian Tibirna tibirna at kde.org
Wed May 7 17:06:06 CEST 2014


Hello

(NOTE: fixed font preferred)

If I write:

std::cout << "Some prefix"
          << some_variable
          << "some filling"
          << some_other_variable
          << "some suffix\n";

I'd expect that the piping operators be aligned in a column (as 
exemplified above). 

What I get is alignment to the leftmost quote from the line above, when 
the line above ends with a raw string, like this:

std::cout << "Some prefix"
             << some_variable
             << "some filling"
                << some_other_variable
                << "some suffix\n";

Is this known/intended? (no relevant info in Jira for "align string").

Thanks.

-- 
Cristian Tibirna
KDE developer .. tibirna at kde.org .. http://www.kde.org



More information about the Qt-creator mailing list