junichi11 / netbeans-color-codes-preview

Show colors in an editor's sidebar
https://netbeans-vm.apache.org/pluginportal/catalogue/?id=24
Apache License 2.0
32 stars 8 forks source link

Translucent (alpha) colors in Java code are not recognized #23

Closed jmborer closed 5 years ago

jmborer commented 5 years ago

Transparent colors are not recognized. For example the following declaration is ignored

public static final Color RED_TRANSLUCENT = new Color(165, 21, 21, 220);

Would be nice that when translucent colors are used, the background of preview could be a squared pattern.

jmborer commented 5 years ago

After checking the source code, in Java files only the following declarations are supported currently:

The plugin needs improvement to support additional constructors and declarations.

junichi11 commented 5 years ago

Yes, I know it. I didn't implement it yet.

jmborer commented 5 years ago

May I help?

junichi11 commented 5 years ago

Thank you, but that's OK. I'm going to do that later.

junichi11 commented 5 years ago

Done.