Bug 38396 - [Edit] layout of compare makes it difficult to really see the differences
Summary: [Edit] layout of compare makes it difficult to really see the differences
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-03 20:45 EDT by Michael Erdmann CLA
Modified: 2019-09-06 16:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Erdmann CLA 2003-06-03 20:45:21 EDT
the compare dialog (e.g. compare with local history) shows two editors with
the two versions of the file. Corresponding sections are associated with each
other using lines. The original layout of each file is not changed.

Can we have a preference setting which states to align compared files in such a
way that empty lines are inserted as needed.

file1:
    11111a
    11111aa
    11111aaa
    22222b
    22222bb

file2:
    11111a
    22222b
    22222bb

would compare as:
    11111a                                 11111a
    11111aa                                //////////////////////////////
    11111aaa                               //////////////////////////////
    22222b                                 22222b
    22222bb                                22222bb

where ///////////////// indicates a greyed-out area indicating "no text".

I am using Beyond Compare, as my Diff-Tool of choice. It is very powerful
and I would like to see something like this inside Eclipse, too.
Comment 1 Andre Weinand CLA 2003-06-04 04:39:17 EDT
This issue is a matter of personal preference: I couldn't find anyone here who thinks that 
inserting empty lines would make it easier to see the differences.
And most of the current compare/merge tools are using the Eclipse approach.
In addition inserting empty lines wouldn't be just a new preference but more of a rewrite of the 
compare editor.
So we have no plans to add this functionality for 3.0.
However, since Eclipse is an open source project, you can add this functionality easily: the 
Compare plugin provides an extension point for the text compare.
Comment 2 Michael Valenta CLA 2008-09-25 10:22:27 EDT
I believe this is a valid request. The statement in comment 1 is false since Compare does not support multiple contributions for the same file type.
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:09:32 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.