Bug 213653 - Yet another formatter setting
Summary: Yet another formatter setting
Status: VERIFIED DUPLICATE of bug 50586
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.4 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-20 17:50 EST by Sean CLA
Modified: 2008-02-04 07:17 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean CLA 2007-12-20 17:50:47 EST
I wish there were a checkbox in "Code Style --> Formatter" that would cause the formatter to remove trailing whitespace off the end of java code lines. (Some people's code is just nasty, not mine of course ;)
Comment 1 Dani Megert CLA 2007-12-21 02:30:59 EST
Note that there's a clean up and a save action for this.
Comment 2 Sean CLA 2008-01-02 15:09:51 EST
Yes, it was only lacking in 3.2
Comment 3 Frederic Fusier CLA 2008-01-05 08:00:47 EST
Reopen as the current resolution is not correct
Comment 4 Frederic Fusier CLA 2008-01-05 08:06:06 EST
This requirement was already done a long time ago. In fact the code formatter does not need any specific setting for this as it always removes the trailing white spaces while formatting the code.

As it was said in original bug 50586, if you notice a case where it does not work, then please add the test case to help us to reproduce, thanks


*** This bug has been marked as a duplicate of bug 50586 ***
Comment 5 Maxime Daniel CLA 2008-02-04 07:17:01 EST
Verified for 3.4 M5 using I20080204-0010.