remove all trailing blanks from all java files in a project or how to do a sync ignoring blanks [message #1854037] |
Thu, 28 July 2022 20:16 |
David K Messages: 4 Registered: October 2009 |
Junior Member |
|
|
There are supposedly settings to remove trailing blanks and to ignore whitespace on sync, but I can't get either to work.
sync (cvs) - window->preferences->general->compare/patch->ignore white space, doesn't work
source format - window->preferences->java->editor->save actions->additional items-> remove trailing white space. Doesn't work when formatting multiple files
If I go to each file, change something and then save, it works, but I have over 600 source files times 2 revisions so I'd like to be able to just select the project and format them all at once. That works for the basic formatting, but the tailing whitespace isn't always touched.
The problem I am trying to resolve is that I have a new rev of my application that has been been updated (new java, jboss, 3rd party jars, etc.). That update process started about a year ago and now I want to import some code changes that have been made in the old rev since then so I want to compare, but the compare is getting muddied up with a lot of whitespace in the comparison so I want to clean up all of the source before re running the compare.
Any thoughts?
eclipse 2022-03 (4.23.0)
|
|
|
|
Powered by
FUDForum. Page generated in 0.08077 seconds