phpunit_codecoverage_display icon indicating copy to clipboard operation
phpunit_codecoverage_display copied to clipboard

Colors are not from colorscheme

Open vektah opened this issue 11 years ago • 13 comments

Great plugin! One little problem in the 0.3.0 release.

The plugin used to use the colors from colors & fonts -> general -> uncovered line / partial line coverage / full line coverage. Now it defaults to bright red and green (probably FF0000 and 00FF00).

This is unreadable on dark backgrounds: crazy colors

vektah avatar Sep 30 '13 23:09 vektah

I think this is a sideeffect, you were using the built in coverage support, because the clover.xml was not configured in the plugin settings. This new release picks up the clover xml automatically, and it started working for you.

This feature would make a nice addition, so I'll look into using the color scheme instead of a separate setting in the plugin, if it's possible, thanks for the report!

oker1 avatar Oct 01 '13 05:10 oker1

@oker1 can you please look into this in 2015? Would be really much more consistent if IDE's colors are used instead of having this somehow redundant color settings and it would automatically (partially) address the #12

WebnetMobile avatar Jan 18 '15 16:01 WebnetMobile

@oker1 Great plugin! +1 for using the IDE's color scheme, I have a hard time reading the text with the dark theme enabled (Darcula)

aimfeld avatar Jun 12 '15 14:06 aimfeld

+1 :+1:

markushausammann avatar Jun 12 '15 14:06 markushausammann

:+1:

ravanscafi avatar Sep 02 '15 18:09 ravanscafi

Whats the status here? I'm facing the same problem using the 0.5.0 release with phpstorm 2016.1

rackberg avatar Apr 27 '16 13:04 rackberg

+1

nubeiro avatar May 10 '16 07:05 nubeiro

Yes, i'm facing the same issue and would love to see this solved. I'm using 2016.1.2 on Windows 10 For the rest, it's an amazingly usefull plugin.

emaas avatar Jun 01 '16 06:06 emaas

+1

tarlepp avatar Jun 18 '16 12:06 tarlepp

It works fine if you set the color in (colors)->Line coverage->Full, you then have to rerun your tests with coverage. zrzut ekranu 2016-08-10 o 14 56 41

therpr avatar Aug 10 '16 12:08 therpr

I have the colours set for Full (484848), Partial (80805A) and Uncovered (715353) but they still show as bright green and red

Ah, I had them set in foreground not background

REBELinBLUE avatar Aug 24 '16 21:08 REBELinBLUE

+1 for this.

Although this plugin works, it's unusable because of the hardcoded colors.

fracz avatar Oct 20 '16 06:10 fracz

Any chance of addressing this issue, anyone?

kgkg avatar Dec 16 '16 12:12 kgkg