Community
Participate
Working Groups
Build 20050202 One could imagine the compiler optionally flagging code which is likely wrong based on its indentation: if (bool) thenStatement(); notPartOfThenStatement(); Developer did likely omit to use a block in if statement, or indentation is misleading. Anyhow, a codestyle warning may be useful there.
We don't tokenize whitespaces so the notion of indentations doesn't exist for a statement. I don't believe this should be done by a compiler. This is more a QA tool or a code formatter.
Deferring post 3.1
Reopen for consideration in 3.2.
*** Bug 129910 has been marked as a duplicate of this bug. ***
An excellent idea! (python guys will be especially happy about this small victory). Practically there is a problem of tabs vs. spaces. For somebody the code may appear indented correctly when for others it will appear misindented.
*** Bug 131356 has been marked as a duplicate of this bug. ***