Reputation: 10871
I am new to IntelliJ and recently updated to IntelliJ-2016.3.
In the editor for Java code, it shows the method signature upon usage. How do I disable this feature?
Here's an example of a method's signature and its call site:
Method call:
This behavior was not there in 2016.1.4 version. I am seeing this after update.
Upvotes: 337
Views: 105639
Reputation: 101
For Intellij IDEA 2022 Editor -> Inlay Hints -> Code vision -> Usages , Uncheck this
Upvotes: 2
Reputation: 3080
As on 2022 (WebStorm 2022.1.2), the option is under the Editor → Inlay Hints. Uncheck the parameter names checkbox.
Upvotes: 5
Reputation: 30058
As of 2022, it's been renamed to "inlay hints"
You can disable it by pressing shift
+ shift
, then type inlay hints
and then disable it.
Upvotes: 12
Reputation: 4219
Others have already answered this, but here is a way of finding it without jumping into menus.
Try hitting ⌘ + Shift + A
on Mac or CTRL + SHIFT + A
on Linux and type the Show parameter name hints
into the search bar.
Upvotes: 16
Reputation: 31438
⌘ + Shift + A
Inlay Hints
Types
set up properly!!! Here's an example for Kotlin:
Upvotes: 5
Reputation: 2153
In latest version you can find it under Settings → Editor → Inlay Hints
Upvotes: 23
Reputation: 14438
I find it helpful to use a shortcut such as P + shift + command
to toggle parameter type hinting as needed. I don't want it disabled entirely.
parameter
Toggle parameter name hints
P + shift + command
Upvotes: 58
Reputation:
From the what's new page:
Parameter hints
The editor now shows parameter hints for literals and nulls used as method arguments. These hints make code much more readable.
If you find hints redundant for a certain method, you can tell the IDE not to show hints for this method. To disable hints completely, uncheck Settings → Editor → General → Appearance → Show parameter name hints.
(emphasis is mine)
Upvotes: 18