I've been a zone leader with DZone since 2008, and I'm crazy about community. Every day I get to work with the best that JavaScript, HTML5, Android and iOS has to offer, creating apps that truly make at difference, as principal front-end architect at Avego. James is a DZone Zone Leader and has posted 639 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
| 9977 views |
  • 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). 

 

 

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.