jmhofer / eCobertura

This is just a mirror of the bitbucket repo!
http://ecobertura.johoop.de
Eclipse Public License 1.0
17 stars 6 forks source link

Source code coverage highlighting causes problems with red-green colour-blindness #14

Open ChrisLambrou opened 14 years ago

ChrisLambrou commented 14 years ago

The use of pale red and pale green background colours to highlight coverage in source files makes eCovertura difficult to use for some developers who exhibit red-green colour-blindness (about 1 in 17 men are affected by this). I'm also having problems during code reviews when using a projector, where the pale red and pale green highlighting is completely indistinguishable from the normal white background. It would be useful to have a way to configure the highlighting colours, either to darken them, or to change the hues completely.

jmhofer commented 14 years ago

Actually, you can change the colours already! - It's just well-hidden in the depths of standard Eclipse preferences: Go to Window - Preferences - General - Editors - Text Editors - Annotations. There, you'll find two entries "Covered Lines" and "Lines not covered". Adapt those and you're good to go.

However, I guess you're right in that I should choose better default colours and document these preferences on the website...