How do you get Eclipse's built-in diff tool to ignore differences in whitespace?

Solution 1:

In Eclipse, go to Window > Preferences.

Then search for "patch" and click on General > Compare/Patch.

Check Ignore white space.

Now only the details that matter in the diff will show up.