Reputation: 24068
In Dracula theme, when I click on a symbol, even though IntelliJ IDEA highlights the usages of that symbol, the highlights are not that visible. I need to change the highlight text color and background color of usages so usages are more visible. I Googled for a solution but couldn't find.
Following page mentions that this can be done in Colors and Fonts settings page but I couldn't find where I can change the colors in that page.
https://www.jetbrains.com/idea/webhelp/highlighting-usages.html
Can somebody help me in this please?
Upvotes: 94
Views: 37508
Reputation: 2845
Steps for your solution are:
identifier under caret
(For finding this click on code
in general tab and enter identifier under caret
). Refer image.Upvotes: 7
Reputation: 17193
It's called "identifier under caret" and "identifier under caret (write)".
I suggest editing background color.
Upvotes: 17
Reputation: 11948
The linked page also mentions Highlighting usages of a symbol in the current file with a Ctrl + Shift + F7
keyboard shortcut.
The highlighting for that is governed by "Search Results" > "Search Result" (under Editor > Color Scheme > General)
Upvotes: 0
Reputation: 191
The accepted answer is wrong. Editor>Colors & Fonts>General>Selection background/Selection foreground
Upvotes: 17
Reputation: 39951
Go into Settings->IDE Settings->Editor->Color and Fonts->General
Make a copy of Darcula to something like MyOwnDarcula (can't change the built in schema).
Find whatever you need to change, in this case I think it's "Identifier under caret" and change the colors for foreground and background to your liking.
Upvotes: 158