[Qt-creator] Align continuation lines
christian.d.kamm at nokia.com
christian.d.kamm at nokia.com
Mon Jul 2 06:32:18 CEST 2012
> I am using this SHA of qtcreator, f9b8ae6a33c2341c52f92c94d575a35a655aca91 and I could
> not get the continuous line alignment to work correctly. I would like to use indentation of
> two spaces for the continuation line as well and it always add padding of 4 spaces.
>I tried various options and even debug the code and it always seems to be 4 (for indent size of 2).
The indentation for unaligned continuation lines is currently hardcoded to twice the indent size. If you want to change it locally or contribute a new configuration option, look for occurrences of "2*m_tabSettings.m_indentSize" in cppcodeformatter.cpp.
Cheers,
Christian
More information about the Qt-creator
mailing list