Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA hint parameters of method

People also ask

How do I enable parameter hints in IntelliJ?

View parameter hints in the editorOpen the Settings/Preferences dialog ( Ctrl+Alt+S ) and go to Editor | Inlay Hints | <required language>. Select Parameter hints from the list, make sure the Show parameter hints checkbox is selected, and then specify the context where you want parameter hints shown.

How do I see arguments in IntelliJ?

Default shortcut to show parameter info in IDEA is ctrl + P .

Do not show hints for current method?

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.


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


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 - 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

Yes - just press CTRL-P.


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