Bug 20914 - Colorized Diff/compare output
Summary: Colorized Diff/compare output
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-24 15:31 EDT by Mindaugas Idzelis CLA
Modified: 2010-06-16 19:07 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mindaugas Idzelis CLA 2002-06-24 15:31:07 EDT
It would be nice if the diff/compare would use color to explicitly illustrate 
what type of change has happened between the two files. Green for new code, Red 
for deleted code, blue for changed code could be a possibility. Programs like 
CVSweb and Araxis merge use this scheme already.
Comment 1 Andre Weinand CLA 2002-06-25 09:04:39 EDT
Yes, for the two way compare case we could use color coding to indicate the 
kind of change. However, in the three-way compare case we consider the 
direction of a change (incoming, outgoing, deletion) more important than the 
type of a change. Therefore we use color coding for the change direction: blue-
incoming, black-outgoing, red-conflicting.
As a consequence we don't use two different color codings for the two-way and 
the three-way compare case because that would confuse users even more...
Comment 2 Helge Böhme CLA 2002-07-17 09:27:35 EDT
Even if there is no color coding for incoming/outgoing or new/deleted code, the color of the changes should be configurable. On my system the compare color is almost identical to the text background color (this changed sometime between 20020321 and 2.0), so even if the color is not configurable yellow is a better choice.
Comment 3 Andre Weinand CLA 2003-01-20 06:33:15 EST
after 2.1
Comment 4 Andre Weinand CLA 2004-03-18 08:42:44 EST
reopening since workbench theme UI has become available
Comment 5 Andre Weinand CLA 2004-06-07 10:22:42 EDT
Workbench theme UI is used for specifying compare colors since M8.