Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Eclipse, one can use Team -> Show Annotation to see the revision history at the side of editor window; My question is how to let such annotation to ignore whitespace changes?

[EDIT] This issue occurs to files containing any programming language, even text file containing English.

share|improve this question
Which language are you programming in? – iglvzx Jan 20 '12 at 0:38
This issue occurred for files containing codes of any language. For example C++, if it makes the question better defined. – Computist Jan 20 '12 at 20:24
Does this post help? – harrymc Jan 24 '12 at 10:32

A vanilla Eclipse editor, as far as I know, will always show a change annotation, even if it's whitespace (you can only change the colours in which changes are displayed under General > Editors > Text Editors > Quick Diff). If you're talking about the compare editor, then you can simply right-click and check the "Ignore White Space" option.

To override this, you'd have to write your own plugin (in which case you might want to start by looking at the interface IQuickDiffReferenceProvider).

share|improve this answer

After this bug is fixed it works:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .