RSS
 

Eclipse tip: CVS Quick Diff Annotations

22 May

In most projects there are certain parts of the source code which are edited by many developers. Tracking who made a particular change and why is not very easy. Eclipse in the recent build (3.2 RC5 (I do not know when this was introduced)) has a neat way of tracking this. Just right click on the Java editor and click on Source>Show Annotation.

Now take a look at the line number bar on the left. This shows a different color for each user’s changes. Just hover over it to see the CVS comments for this change along with the user name, version and time. Pretty neat.

Related posts:

  1. Eclipse Tip: Java Compare Editor
  2. Eclipse tip: Quick views
  3. Eclipse Tip: See more of the editor
  4. Eclipse Tip: Fix your Javadoc
  5. Next Lotus Notes to based on Eclipse

 
 
  1. eu

    May 23, 2006 at 12:55 AM

    What is frustrating is that you can’t see rev, user or change date on the left editor gutter area. Major reason for not implementing that is absense of common gutter API in Eclipse editors. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=85751