Community
Participate
Working Groups
Create a new class, save Foo.java. It is saved as a file with a final Newline, as it should. Then from the context menu run Source->Format. The final newline is no longer in the buffer, as you can verify using arrow key motion, or by saving the file. Format should remove trailing whitspace, and then append a single final Newline (or a single Return+Newline-pair on Windows).
*** This bug has been marked as a duplicate of 68506 ***