Reputation: 59
How do I change the color of the class
or data type
in IntelliJ?
I set the values I want to modify and apply the changes, but it just does not reflect in the code. It only lets me set the values of the Strings, comments or numbers. I leave a screenshot so you can see what I'm trying to do.
Example:
Upvotes: 3
Views: 6308
Reputation: 59
Hi guys this problem was due to an error in the java JDK installation, I just reinstalled the JDK and the IDE worked normal.
Upvotes: 1
Reputation: 1270
Can you try following steps.
Inherit values from
and choose color in Foreground and Background from Editor > Color Scheme > Java
ctrl+` >> color scheme >> your custom scheme
. In my case it was test.Upvotes: 3
Reputation: 715
In IntelliJ, navigate to: Settings > Editor > Color Scheme > Language Defaults > Classes > Class name
.
Then untick Inherit values from:
. Then change the Foreground
color.
You may change any colors you want under this tab. And don't forget to apply.
Upvotes: 3