Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare a file in a project with one in the filesystem in eclipse?

I have an eclipse project containing a source file. Now I have a different version of that file somewhere in the filesystem (not inside an eclipse project).

I can open the second file in eclipse, but I find no way to compare it to the first file.

How can I compare these two files?

like image 408
tangens Avatar asked Oct 26 '09 09:10

tangens


2 Answers

Or use WinMerge as external programm - aslo not true way, but fast and simple.

Interesting article "Compare with" Dialog

like image 134
St.Shadow Avatar answered Nov 15 '22 04:11

St.Shadow


A simple way is to make a temporary copy in your Eclipse workspace, in the same directory to make it even easier. Then compare, then delete.

Not the ideal theoretical way, but fast and simple to remember.

It's what I use, but I'm open to improving my ways :-)

like image 25
KLE Avatar answered Nov 15 '22 06:11

KLE