Community
Participate
Working Groups
Posted question at eclipse newcomer ( http://www.eclipse.org/newsportal/article.php?id=5982&group=eclipse.newcomer#5982 ). I couldn't find an existing request for this behavior. I would like for any white space to be removed from an empty line at the point I press a carriage return. For example (dots represent white space). 1 ....public void example() { 2 ........final String hello = "Hello, World."; 3 ........ 4 ........System.out.println(hello); 5 ....} In Eclipse, I end up with white space in line 3. I would like for the white space to be removed when I press the carriage return for to get to line 4. That is: 1 ....public void example() { 2 ........final String hello = "Hello, World."; 3 4 ........System.out.println(hello); 5 ....} I'm aware the one can use formatting and Ctrl+Shift+F, but that's an extra step one has to remember and I would like for it to happen by default. I'm in an environment where Eclipse is sometimes used as well as shell and VIM and the extra white space throws off some navigation features of VIM (e.g., } to move to the next paragraph or empty line).
*** This bug has been marked as a duplicate of 85883 ***