Skip to content

Instantly share code, notes, and snippets.

@zwang
Last active December 23, 2015 11:09
Show Gist options
  • Save zwang/6626418 to your computer and use it in GitHub Desktop.
Save zwang/6626418 to your computer and use it in GitHub Desktop.
Remove trailing white space 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment