Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change usage highlight color in IntelliJ IDEA

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?

like image 548
Lahiru Chandima Avatar asked Oct 14 '14 03:10

Lahiru Chandima


People also ask

How do I change the highlight color in IntelliJ?

Select a color schemePress Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme. Use the Scheme list to select a color scheme.

How do you change the color of the highlight?

Right-click the highlight icon, then choose “Tool default properties“. Select the color palette, then choose a desired color.

How do I remove yellow highlights in IntelliJ?

Hover the mouse over the widget in top-right corner of the editor and select another level from the Highlight list: None: turn highlighting off.

How do I turn off green highlight in IntelliJ?

IntelliJ IDEA is highlighting the changes it made when you invoked the Move initialization to constructor intention. Because the changes are quite far away from the cursor, you might not see them otherwise. Pressing Escape will remove the highlighting.


2 Answers

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.

like image 185
Andreas Wederbrand Avatar answered Oct 22 '22 12:10

Andreas Wederbrand


The accepted answer is wrong. Editor>Colors & Fonts>General>Selection background/Selection foreground

like image 23
user9087 Avatar answered Oct 22 '22 13:10

user9087