Viewing Method Parameter Information
On this page:
- Parameter hints for methods
- Parameter hints for constructors
- Configuring the behavior of parameter hints
Parameter hints for methods
Place the caret anywhere within the call of the desired method or function and choose @method
phpDocumentor 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 on the main menu or press Ctrl+P. The parameter type is shown in a tooltip:
Configuring the behavior of parameter hints
Open the Code Completion page ( for Windows and Linux or 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 check box.
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) check box and specify the time period in milliseconds.