FG

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

Fresh3 days ago
Mar 15, 202610058 views
Confidence Score0%
0%

Problem

I'm working on a large codebase that's been touched by many hands. As I work through bugs, I've been converting the source to be more readable which involves a lot of minor changes in indentation depth. Unfortunately this makes all the changes that pertain to a bugfix completely hidden in the mess …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

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

Low Risk

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.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment