Open Herman0802 opened 3 months ago
Hi Herman, thanks for the issue. Can replicate this problem and will look into this soon.
@Herman0802 This actually a combination of two problems:
I've published v1.2.0 to fix it. Just update the extension in VS Code.
The default pattern-based highlighting (Textmate) that comes with the editor does not suffice. So the theme won't know that a particular "symbol" stands for a field in a Java class. That's why the color falls back to no-coloring.
To address this, nothing can be done on the theme's side. However, there are solid plugins like redhat.java
that provides extended Java support, including what's known as semantic highlighting. Such services provide themes with "understandings" of your code, so the highlighting would be more accurate.
Dark Plus Darcula fully supports semantic highlighting. Here's how your code would be colored using theme v1.2.0, without semantic highlighting (editor default):
With semantic highlighting (using redhat.java
):
@lfod1997, after your update, it has become better. However, could you additionally share your settings for this extension to ensure the creation of an identical design?
@Herman0802 I believe there is no extra settings for the extension in my VS Code. I installed the extension, and it works out of the box :p
Well, in the redhat.java
plus oasin.theme-dark-plus-darcula
pair, in my case, there is still no support for ENUMs and annotations:
This is how it looks using only oasin.theme-dark-plus-darcula
:
@Herman0802 Hey could you try providing the token info of the uncolored enum members? Here's how:
tokens
after the ">" symbol, and select "Developer: Inspect Editor Tokens and Scopes"Thanks, it will help me fix your specific problem.
In recent times, the components listed in the title are being displayed incorrectly in Java code. Below is an example of how the same code currently looks compared to the original theme in
IntelliJ IDEA
:Dark Plus Darcula (IntelliJ imitation)
Darcula IntelliJ IDEA
Unfortunately, it's obvious to the naked eye how much the code readability has decreased :(