Since I got onto the latest nightly build, the block auto-complete doesn't
allow for my style of block indentation. I see the new options in Text
Editor->Behavior, but I'm not entirely sure what they mean. I'm trying to
use the Allman/ANSI style (
http://en.wikipedia.org/wiki/Indent_style#Allman_style_.28bsd_in_Emacs.29),
like:
while (x == y)
{
    something();
    somethingelse();
}

I'm guessing that I should use the "exclude braces" style. What happens is
that when I hit <enter> after the while, is that it indents, but it doesn't
un-indent after I type a '{' as older versions of qt-creator did.

I'm using the 2010-09-14 build of 2.0.90 on Ubuntu 10.04.

FWIW, I was going to open a case for this, but was overwhelmed by the list
of qt-creator cases matching "block indent," most of which were reported on
2.0.x and earlier, and mostly noted as fixed on head, which I'm not smart
enough to know if it is the same as 2.0.90 or not. (Consider this another
request for multi-branch nightlies, so that this could be more clear.)

-- 
Bryce Schober
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to