Community
Participate
Working Groups
The source code formatter (and indenter) shouldn't indent lines that were commented out via Source->Toggle Comment. For example, suppose you had the following code: if (!newPattern.equals("")) { parent.addPattern(newPattern); } and then commented out the statement (via toggle comment): if (!newPattern.equals("")) { // parent.addPattern(newPattern); } If you then apply "format" to this, you'll get: if (!newPattern.equals("")) { // parent.addPattern(newPattern); } When code is large, this effect can be quite annoying. The automatic formatter shouldn't affect lines of code like this. As an alternative to ignoring these lines, at least the extra indentation after the "//" could be removed: if (!newPattern.equals("")) { //parent.addPattern(newPattern); } since the same level of indentation has already been added before the "//".
*** This bug has been marked as a duplicate of 20793 ***
Verified for 3.3 M7 using build I20070418-1012.