Menu

#219 Option for trailing whitespace

New
nobody
None
Medium
Defect
2013-04-21
2013-04-21
Anonymous
No

Originally created by: simon.to...@gmail.com

A lot of editors do smart indents so if you add a
blank line in the middle of a function it inherits the indentation of
the line above. e.g.

1:  func()
2:  {
3:  ....int j = 3;
4:  ....
5:  ....AnotherFunc(j);......
6:  }

Line 4 is OK
Line 5 has trailing whitespace after the function call.

I'd like to see an option to suppress discarding trailing whitespace on lines which contain only whitespace.

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.