Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij Idea: Highlight usage of element at caret option. Change color

I just turned on "Highlight usage of element at caret". (Settings -> editor). But the default color is a light blue. I would really like this highlighting to bolder and easier to see. I could not find an option in the colors menu. Is this possible?

like image 665
sixtyfootersdude Avatar asked Jan 22 '10 13:01

sixtyfootersdude


People also ask

How do I change the highlight color in IntelliJ?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Language Defaults | Semantic highlighting. Select the Semantic highlighting checkbox and customize the color ranges if necessary.

How do I highlight selected text in IntelliJ?

Press Alt+Shift+F11 or choose Edit | Find Usages | Highlight Usages in File from the main menu . Alternatively, you can press Ctrl+Shift+A , start typing the command name in the popup, and then choose it there.

How do I hide usage in IntelliJ?

File -> Preferences -> Editor -> Inlay Hints -> Code vision and uncheck "Usages" for the Intellij folk that get directed here.


2 Answers

Yup. Settings > Editor > Colors & Fonts > General > Identifier under caret

like image 120
Timothy Avatar answered Oct 13 '22 02:10

Timothy


Go to, File -> power save mode

Disable the power save mode and syntax highlighting will start working again.

syntax highlighting is a background processes in intellij which does not execute in power save mode

like image 32
Anup Chandratre Avatar answered Oct 13 '22 00:10

Anup Chandratre