jgroz
jgroz

Reputation: 11

Why does IntelliJ gray out types, fields and methods?

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

Upvotes: 1

Views: 1461

Answers (1)

Steven Spungin
Steven Spungin

Reputation: 29109

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.

Upvotes: 2

Related Questions