user2761895
user2761895

Reputation: 1541

Why grayed var:colon is added in Java editor in IntelliJ

I installed IntelliJ 2016.3.2 Build #IC-163.10154.41 Built on Dec.21, 2016

grayed var:colon is automatically added in front of argument in a caller method in Java editor as you see below ( greyed a: b: are added). Why is this happening? I don't want to see these grayed ones. How to set it up in config.? (I guess this is occurring in the latest version of IntelliJ since I'm using older version in another machine without this problem.)

enter image description here

Upvotes: 4

Views: 578

Answers (1)

JimHawkins
JimHawkins

Reputation: 5000

The grey names followed by the colon are the parameter names from the method definition.

If you don't want them, right click on a grey word and select Disable Parameter Name Hints.

It's not a bug, it's a feature ;-)

enter image description here

If you want to reactivate it, go to Settings --> Editor --> General --> Appearance --> Option Show parameter name hints

Upvotes: 5

Related Questions