January 8th, 2010
4:21 pm
Posted under Eclipse
Permalink
Tags Eclipse, Tip
Eclipse can compareĀ a pair of open files. It is not obvious how to do this however.
All you need to do is select the first file in the project/package explorer, then ctrl/select the second file so that both are selected. If you then right click, you can select Compare To/Each Other and a new differences view is created.
You can also select a single file, and compare to another version in CVS by selecting Compare To/Another Branch or Version
This post also discusses the technique.
Leave a Reply
You must be logged in to post a comment.