Community
Participate
Working Groups
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.
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.
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.
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.