IntelliJ IDEA hint parameters of method

Intellij Idea

Intellij Idea Problem Overview


I'm just swapping from eclipse to IntelliJ, and I can't find this particular feature.

In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which parameters this method takes. Is there something similiar in IDEA?

Intellij Idea Solutions


Solution 1 - Intellij Idea

Use Ctrl+P (Cmd+P for Mac), it should show something similar. You may also find the reference card (PDF) handy.

Solution 2 - Intellij Idea

Except CTRL+P (or CMD+P for Mac)

There is new feature in IntelliJ IDEA EAP:

Parameter name hints

> Settings > Editor > General > Appearance

preview: enter image description here

Video from JetBrains about this feature: https://youtu.be/ZfYOddEmaRw

Related question - https://stackoverflow.com/questions/40866202/intellij-shows-method-parameter-hints-on-usage-how-to-disable-it

I'm using:

IntelliJ IDEA 2016.3 EAP
Build #IU-163.5219.11, built on September 27, 2016

Solution 3 - Intellij Idea

Yes - just press CTRL-P.

Solution 4 - Intellij Idea

Display the parameter-helper automatically, by adjusting the "Autopopup"-timer in IntelliJ / PhpStorm settings.

Navigate to:

File -> Settings -> Editor -> General -> Code Completion -> Autopopup in (ms)

Set it to whatever you like. Etc. 5 ms.

Autopopup parameter info in IntelliJ

Solution 5 - Intellij Idea

Ctrl+P if the keybinding is set to "default".

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
QuestionnewcronView Question on Stackoverflow
Solution 1 - Intellij IdeaYuval FView Answer on Stackoverflow
Solution 2 - Intellij IdeaLukas M.View Answer on Stackoverflow
Solution 3 - Intellij IdeaJoeView Answer on Stackoverflow
Solution 4 - Intellij IdeaUniccoView Answer on Stackoverflow
Solution 5 - Intellij IdeaSureshView Answer on Stackoverflow