• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

Eclipse - View diff between working copy and repository version directly in the Editor.

Hi,

I was wondering if there was a way we could see blocks of code that have changed since being checked out of SVN(or CVS for that matter).

This feature is available in IntelliJ IDEA, where in it marks specific portions of code as changed (compared to the same vresion file in repository)

Sometimes when the amount of modification is very high then it is a pain to have to go and diff the working copy and the SVN copy.

Is there a setting whihc directly enables this visual representation of the "MODIFIED BLOCKS OF CODE" in the editor itself?

Thanks,
0
slickdeals
Asked:
slickdeals
  • 3
  • 2
  • 2
1 Solution
 
objectsCommented:
Right click on the file and go to the Compare menu
0
 
Mayank SAssociate Director - Product EngineeringCommented:
In CVS with Eclipse, I use right-click -> Team -> Synchronize with repository to see the differences between the working copy and the version in the repository.
0
 
slickdealsAuthor Commented:
Thanks for the replies,

But I was wondering if there was anything within the editor itself which told me what has changed,..

I can always do a Compare with,
Or do a Team -> Annotate, or diff.

But then those are two additional steps for just finding out what lines of code changed,.

I do not necessarily want to find the exact changes,
only whether there was something that changes in the editor.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
objectsCommented:
the svn plugin will mark files thats have changed in the package explorer view
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Yes, CVS will mark it with > too (it is recursive up to the project level).
0
 
slickdealsAuthor Commented:
guys, I am sorry,. I was not specific enough in the previous post,.

What i want to know is whether eclipse editor will show which of the lines in a particular file changed(in the place where it shows line numbers, or where you can set break points and other stuff,. )

IntelliJ can do that,.
Just wondering if Eclipse did it too,.
0
 
objectsCommented:
not that I'm aware of
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now