Menu

#278 Auto-indent should trim unneeded whitespace

open
nobody
None
5
2006-02-13
2006-02-13
No

Auto-indent should trim unnecessary whitespace on
a) blank lines (i.e., they should not be indented to
the same level as surrounding line)
b) and at the end of lines.
It should also add a blank line at the end of the file.

An example:
public class Foo {
public Foo() {
//Implementation here.
//There should be no whitespace
//after the final character of this
//line (with the exception of the
//newline, of course).
}

//There should be NO whitespace on
//the line above.
public void method() {
//...
}
}

EOF

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.