intellij-visual-studio-code-dark-plus icon indicating copy to clipboard operation
intellij-visual-studio-code-dark-plus copied to clipboard

IntelliJ / Java colors for Enums

Open pkt77 opened this issue 5 years ago • 5 comments

I was asked to post an issue here based on my review:

Great theme for Java, however I believe there should be a different color for enums like there is for interfaces. Currently they have the same color as classes and accessing an enum member uses the same color as a static variable.

I can go in more detail here. image The interface Map color is different from the Object color. I'd like a similar difference for Enums like LogLevel. I'm not really good with colors, but maybe lighter than objects since interfaces are darker?

I'd also like the color of enum accessed INFO to be different from statically accessed variables like MAX_VALUE - I'm not sure if this one is possible since they're both technically constants.

pkt77 avatar Jun 01 '20 05:06 pkt77

Would you please provide some code snippets? I'll check how it's done in VS Code and what could be done in the theme. Thanks.

samdark avatar Jun 02 '20 17:06 samdark

Do you mean code snippets in VS, or what else besides that image?

pkt77 avatar Jun 03 '20 07:06 pkt77

Ah, sorry. Thought these are custom classes but these aren't. Haven't touched Java in more than 10 years :)

samdark avatar Jun 03 '20 10:06 samdark

That is how it looks in VS code:

image

samdark avatar Jun 10 '20 07:06 samdark

@pkt77 in case you've already adjusted it, it would be really helpful if you'll share your color scheme changes. See https://github.com/samdark/intellij-visual-studio-code-dark-plus/blob/master/.github/CONTRIBUTING.md#code-highlighting

samdark avatar Jun 16 '20 22:06 samdark