Why does IntelliJ gray out types, fields and methods?

Viewed 213

IntelliJ screenshot

Can somebody explain why IntelliJ grays out types, fields inside methods and how to disable it? In my example words String, length, TEST and length() are all grayed out.

IntelliJ version 2021.3.1

1 Answers

This is syntax highlighting. It is grey for variable names, class names and member names, but can be changed. You can disable or change the style in the options.

Search for syntax highlighting in the options search field, find the entry for your language and modify it.

Related