Bug 20914

Summary: Colorized Diff/compare output
Product: [Eclipse Project] Platform Reporter: Mindaugas Idzelis <midzeli>
Component: CompareAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daagoofer, decandio, h.boehme
Version: 1.0   
Target Milestone: 3.0 M8   
Hardware: All   
OS: All   
Whiteboard:

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.