Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JetBrains Theme Matching - Java Syntax Highlighting #13

Open
shinghamanish opened this issue Dec 16, 2024 · 2 comments
Open

JetBrains Theme Matching - Java Syntax Highlighting #13

shinghamanish opened this issue Dec 16, 2024 · 2 comments

Comments

@shinghamanish
Copy link

shinghamanish commented Dec 16, 2024

JetBrains Theme Matching - Java Syntax Highlighting

Problem:

The current color scheme for Java syntax highlighting doesn't perfectly match the intended JetBrains theme in the following cases.

Proposed Solution:

To improve the matching, please consider the following changes to the syntax highlighting rules:

  {
    "scope": ["storage.modifier.import.java", "storage.type.java", "storage.type.generic.java"],
    "settings": { "foreground": "#ABB2BF" }
  },
  {
    "scope": ["storage.type.annotation.java", "storage.type.object.array.java"],
    "settings": { "foreground": "#eef536" }
  }
@shinghamanish
Copy link
Author

I have do this work in setting.json file by adding

"editor.tokenColorCustomizations": {
        "[JetBrains Darcula Theme]": {
            "textMateRules": [
                {
                "scope": ["storage.modifier.import.java", "storage.type.java", "storage.type.generic.java"],
                "settings": {
                    "foreground": "#ABB2BF"
                }
                },
                {
                    "scope": [
                        "storage.type.annotation.java",
                        "storage.type.object.array.java"
                      ],
                      "settings": {
                        "foreground": "#eef536"
                      }
                }
        
        ]
        }
    },

@Mohamed3nan
Copy link
Owner

Thanks for the feedback, do you have screenshots before and after from jetbrains ide and vscode ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants