IntelliJ shows method parameter hints on usage - How to disable it

JavaIntellij Idea

Java Problem Overview


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: enter image description here

Method call:
enter image description here

This behavior was not there in 2016.1.4 version. I am seeing this after update.
Any help is appreciated!

Java Solutions


Solution 1 - Java

Untick the bottom option Show parameter name hints

Show parameter name hints

Solution 2 - Java

Right click on the hint, then on Disable:

enter image description here

Solution 3 - Java

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.

  1. open preferences
  2. click Keymap
  3. filter by parameter
  4. double click on Toggle parameter name hints
  5. enter key combination ie, P + shift + command
  6. Apply and Ok
  7. Now the key combo will toggle hints for you.

enter image description here

Solution 4 - Java

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)

Solution 5 - Java

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.

Show parameter appears when searching from the Action/Option name search bar

Solution 6 - Java

In latest version you can find it under Settings → Editor → Inlay Hints

enter image description here

Solution 7 - Java

  1. ⌘ + Shift + A
  2. Type Inlay Hints
  3. Make sure that the language of your choice has Types set up properly!!! Here's an example for Kotlin: Inlay Hints settings

Solution 8 - Java

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.

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionG.SView Question on Stackoverflow
Solution 1 - JavaagilobView Answer on Stackoverflow
Solution 2 - JavaanotherView Answer on Stackoverflow
Solution 3 - Javawired00View Answer on Stackoverflow
Solution 4 - Javauser180100View Answer on Stackoverflow
Solution 5 - JavaAlex StylView Answer on Stackoverflow
Solution 6 - JavaAlex KalmikovView Answer on Stackoverflow
Solution 7 - JavaBartek LipinskiView Answer on Stackoverflow
Solution 8 - JavaMuhammad HewedyView Answer on Stackoverflow