Saturday, February 26, 2011

Eclipse Compare Files

Ever wonder how to compare two similar files in Eclipse? Well it's actually pretty simple once we look for it.

In the navigator view select both files using ctrl+click in the context menu (right click) choose Compare With>> Each Other.

That's it you get the standard diff window with side by side compare and edit capability. Oh and if one file is already open, no worries edits are all sychronized.


Hope this is helpful, gotta love Eclipse.

No comments:

Post a Comment