views:

257

answers:

4

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 Sublipse indicated the changes that I introduce in the source code (downloaded from SVN) just like Netbeans? Is there any way?

Regards

+1  A: 

Subclipse automatically keeps track the changes that you do in Eclipse.

If you would like to see the changes, the convention in Eclipse is to go to Team -> Synchronize menu on the project.

DJ
+1  A: 

Doesn't subclipse mark the classes and packages in the Package Explorer as being different to the version checked-in to SVN?

EDIT

You can use the compare function to see the differences. One way to do this is to open the synchronize view, right click on the desired class and choose compare (i can't remember the exact menu option, but it's something like that).

alt text

Binary Nerd
Yes it does but I would like to see changes in editor view, so I can see what line of code I've changed. So how can I do this?
Ajan
Ah, ok. I've added a bit more to my answer.
Binary Nerd
+1  A: 

If you are referring to the Viewing Changes in the Source Editor section of subversion in Netbeans:

alt text

Then it should be like activating the Quick diff Annotate in Subclipse:

alt text

Team -> Show Annotations option on a file

VonC
+2  A: 

Go to window -> prefrences. Then select General -> Editors -> Quick Diff and change the value in 'Use this reference source' to reflect your SVN changes. As you go on changing the code it will show your changes on the side ruler until you commit to SVN.

zapping
That's what I was looking for :). Thank you!I'll add some comment to yours answer :) - On QuickDiff pane in "Use the reference source" combo there should be selected "Pristine SVN Copy".
Ajan