gringoh
12/4/2017 - 3:17 PM

Remove trailing whitespace in Eclipse

You can easily remove all the trailing whitespace within a single file by using a regular expression with the Find/Replace dialog. Enter [ \t]+$ in the "Find:" box and leave the "Replace with:" box empty. Check the "Regular expressions" option then click "Replace All"