Eclipse – How to compare two files using Eclipse? Is there any option provided by Eclipse

eclipse

How do I compare two files using Eclipse?

(Currently I am using WinMerge.)

Best Answer

To compare two files in Eclipse, first select them in the Project Explorer / Package Explorer / Navigator with control-click. Now right-click on one of the files, and the following context menu will appear. Select Compare With / Each Other.

enter image description here