eCobertura icon indicating copy to clipboard operation
eCobertura copied to clipboard

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

Open ChrisLambrou opened this issue 14 years ago • 1 comments

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.

ChrisLambrou avatar Aug 31 '10 23:08 ChrisLambrou

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...

jmhofer avatar Sep 03 '10 12:09 jmhofer