I\'m looking for a diff tool that will allow me to compare just a sub-section of a file with a section of another file, or even of itself. Preferably eclipse based but will
CheckStyle is nicely integrated with Eclipse and will do the job. It will notify to you and error/warning if your code is duplicated, how much times... etc...
http://eclipse-cs.sourceforge.net/
Kdiff3 would be the other choice. Not Eclipse integrated, but a very nice free, cross-platform tool for merging, comparing files etc.