IntelliJ IDEA 2017.3 Help

Viewing Method Parameter Information

Parameter hints for methods

Place the caret anywhere within the call of the desired method or function and choose View | Parameter Info on the main menu or press Ctrl+P. In the PHP conext, parameter information for methods defined through the @methodphpDocumentor tag is also available:

Parameter hints for constructors

In the PHP context, IntelliJ IDEA prompts you about the parameter type when a constructor is called. Place the caret anywhere within the call of the desired constructor and choose View | Parameter Info on the main menu or press Ctrl+P. The parameter type is shown in a tooltip: When you type the parameter value, it is prepended with the parameter from the constructor:

Configuring the behavior of parameter hints

Open the Code Completion page (Settings | Editor | General | Code Completion for Windows and Linux or IntelliJ IDEA | Preferences | Editor | General | Code Completion for macOS) and configure the following options in the Parameter info section:

To have a complete method or function signature shown rather than a list of required types, select the Show full signatures checkbox. Make sure to include the required third-party libraries in the project source path. Otherwise, names of the parameters will not be displayed.

To have the list of parameter types for the called method or function shown automatically after a certain delay, select the Auto pop-up (in ms) checkbox and specify the time period in milliseconds.