Search code examples
eclipsecomparefilecomparefile-comparison

Eclipse (3.5) how to compare files horizontally?


Normally Eclipse 'File Compare' compares files in vertical panels like:

Compare using Vertical Panel

Is there a way I can compare them horizontally like:

Compare using Horizontal Panel http://www.sqlservertool.com/images/ad_hex_diff_small.gif

Its too tiring to scroll everytime to see what was changed!!

Thx


Solution

  • Looking at the code of org.eclipse.comparator.internal.CompareEditor (which is the name of the class of the editor illustrated in your question), I do not see any indication of a different "orientation" (horizontal layout vs. vertical layout)

    So, no. I do not think the current implementation allows you to compare files with a different layout.