[Qt-creator] Align continuation lines

Jayesh Chaudhary aashishcy at gmail.com
Tue Jul 3 15:44:25 CEST 2012


Thanks Christian. I will have a look at it.

Best,


On Mon, Jul 2, 2012 at 12:32 AM, <christian.d.kamm at nokia.com> wrote:

> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120703/40fb7cd4/attachment.html>


More information about the Qt-creator mailing list