Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

I've been a zone leader with DZone since 2008. I work as a technical lead on a next generation tool suite using based on Eclipse. This means that I get to use Java everyday, and a selection of the best Eclipse technologies, from EMF to GEF to Xtext. Along with all of this, I do iOS development in my spare time. James is a DZone Zone Leader and has posted 527 posts at DZone. You can read more from them at their website. View Full User Profile

Effective Teamworking With Eclipse: Highlighting Local Changes

07.06.2010
Email
Views: 7190
  • submit to reddit

Eclipse can make your life really easy when it comes to working with version control systems. Over the next few articles, I'll be sharing some of the tips that I've picked up while using Eclipse (with CVS).  When you make changes in your local workspace, the default decoration is a  '>' before the change, up to project level.  This is fine, but isn't particularly obvious when scanning through your workspace.

You can actually make these changes really stand out using some simple changes to your preferences.  You'll find the preferences on by navigating to Window/Preferences/Team/CVS/Label Decorations

On the Text Decorations tab you can change the default change flags:



On the general tab, you can change the colors and fonts of anything that has changed locally.
First, click through to the Colors & Fonts page.  This part of the preferences dialog allows you to customize the colors that are used.


Now, when you enable font and color decorations, your changes will be much more obvious:

Hopefully you'll find this as useful as I did. Eclipse is my everyday IDE, but I'm sure that similar settings exist in other Java IDEs. If so, please share how to access those capabilities with a response (or another article). 

 

 

Published at DZone with permission of its author, James Sugrue.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Jaran Nilsen replied on Tue, 2010/07/06 - 11:11am

Thanks for the tip! I sometimes feel i get "lost" in the jungle of changed files and the background color tip helps guide me home :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.