Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 when Eclipse declares every single line to be different in a file.

Is there some way to make Eclipse ignore the whitespace when you review a diff?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.