IntelliJ IDEA 2017.1 Help

Type Hinting in IntelliJ IDEA

In this section:

Toggling parameter hints for Java

The parameter hints are added to increase the readability of the Java code.

To show parameter hints, do one of the following

  • In the Settings/Preferences dialog, open the page Appearance under the Editor | General node, and select the check box Show parameter hints.
  • Press Ctrl+Shift+A, type Hint, select the command Toggle parameter name hints, and press Enter.

The result shows in the editor:

/help/img/idea/2017.1/rm_parameter_hints.png

To disable showing parameter hints, do one of the following

  • In the Settings/Preferences dialog, open the page Appearance under the Editor | General node, and clear the check box Show parameter hints.
  • Right-click a parameter hint in the editor and choose Disable Parameter Name Hints on the context menu:
    /help/img/idea/2017.1/rm_parameter_hints_disable.png
  • Press Ctrl+Shift+A, type Hint, select the command Toggle parameter name hints or Do not show hints for the current method, and press Enter.

Configuring Blacklist

The Blacklist of the methods for which the parameter hints are not shown, is configured in the Appearance page of the Settings/Preferences dialog.

To configure the Blacklist

  1. In the Appearance page of the Settings/Preferences dialog, click the button Configure:
    /help/img/idea/2017.1/parameter_hints_blacklist.png
  2. From the drop-down list on top, choose Java
  3. Add the desired methods to the Blacklist.

To add an individual method to the Blacklist, do one of the following

  • Right-click the desired parameter hint in the editor, and on the context menu choose Add method <name> to Blacklist:
    /help/img/idea/2017.1/rm_parameter_hints_blacklist.png
  • Press Alt+Enter, and choose Do not show hints for the current method:
    /help/img/idea/2017.1/rm_parameter_hints_blacklist_1.png

The method in question appears in the Blacklist, in the correct format:

/help/img/idea/2017.1/rm_parameter_hints_blacklist_2.png

To delete entries from the Blacklist

  1. Select one or more adjacent entries in the Blacklist.
  2. Press Delete.

See Also

Last modified: 18 July 2017