eCobertura
eCobertura copied to clipboard
Source code coverage highlighting causes problems with red-green colour-blindness
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.
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...