AtomMaterialUI / color-highlighter

JetBrains plugin to preview colors directly from within the code.
MIT License
40 stars 23 forks source link

Why has two color display before? #73

Closed qrqhuang closed 1 year ago

qrqhuang commented 2 years ago

This line has just one color being defined, but why has two color display before. I can't figure out what does it meaning...

image

mallowigi commented 2 years ago

I'm not sure 100% but it could be because one is from the plugin and the other one from another setting?

qrqhuang commented 2 years ago

I'm not sure 100% but it could be because one is from the plugin and the other one from another setting?

As this plugin page describe with JAVA lang, it also displays two element.

image

So it will not be another setting, may be?

haosmos commented 2 years ago

same here

phpsorm: 222.3345.61 color highlighter: 11.0.0

GWSL_vcxsrv_8e7bWCLANd

mallowigi commented 2 years ago

I see. The problem was because it applies the highlighter twice: one for the language, and one for the fallback if it applies. I'll fix this.

mallowigi commented 1 year ago

Fixed in 12.0

FlorentLM commented 1 year ago

Still having this issue with Python and the latest version of color-highlighter