WebStorm 2018.2 Help

Viewing Method Parameter Information

Parameter hints show the names of parameters in methods and functions:

ws_view_parameter_info.png
In TypeScript, parameter hints are by default shown right in the editor making your code easier to read:
ws_typescript_parameter_hints.png
Learn more from TypeScript parameter hints and TypeScript inferred type information.

View the parameter hints for a method

  • Place the caret anywhere within the call of the method or function and press Ctrl+P or choose View | Parameter Info on the main menu.

Configure the appearance and behavior of parameter hints

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), choose General under Editor, and then choose Code Completion. The Code Completion page opens.

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

Last modified: 2 October 2018

See Also