Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subclipse - marking code changes like in NetBeans

Tags:

I moved recently from NetBeans to Eclipse. Since I have to work with the project checked out from SVN I installed Eclipse. My question is: how to make Subclipse indicated the changes that I introduce in the source code (downloaded from SVN) just like NetBeans? Is there any way?

like image 540
Arek Avatar asked Feb 08 '10 07:02

Arek


1 Answers

In Window -> Preferences navigate to General -> Editors -> Text Editors -> Quick Diff and tick "Enable quick diff", "Show differences in overview ruler" and set "Use this reference source" to "Pristine SVN Copy".

You might also want to change the colors to match NetBeans (blue for Changes, green for Additions, red for Deletions).

enter image description here

Note that you'll probably need to restart Eclipse for this to take effect.

As you go on changing the code it will show your changes on the side ruler until you commit to SVN.

like image 157
zapping Avatar answered Sep 21 '22 07:09

zapping