Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 1.3.0 rc1, Qt Creator 1.3.0
-
None
-
9839dea6bc472a6e464a0afdbbb20677e53c5afc
Description
Creator's auto-indentation is usually very good but in the case of C/C++ switch statements, it seems to get confused.
When entering the ';' (semi-colon) of the case label, the entire line is shifted left by about two tab-widths (I use tabs, not spaces, as specified in the options).
I expect the label to be indented by one tab width to the right inside the scope, just as is the case with if statements etc.
I always have to correct this manually each time, a time-waster that detracts from an otherwise first-class source editor!