Reputation: 10646
Eclipse has built in functionality for comparing files, but how can I configure that functionality? Say I create a new file type and want an external program do perform the diff. How do I set that up?
Can I create an Eclipse plugin to add my own plugin for handling file comparisons? Or perhaps that is the answer to the first question...
Upvotes: 1
Views: 106
Reputation: 22070
There is a plugin integrating Beyond Compare into Eclipse. As it is open source, you might get a clue by looking at its sources.
Upvotes: 1
Reputation: 328594
You may want to look at the EMF Compare Project which helps build compare editors for EMF models. If you don't have an EMF model for your file type, you can either create one or look through the source code of EMF Compare to see how it works.
The developer guide explains how to use the code to write your custom viewers.
Upvotes: 1