How to disable parameter name hints in PhpStorm?

后端 未结 2 544
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 06:35

Is there any way to disable the hints?

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-03 06:57

    A bit of general info on parameter names hints can be found in this official introduction blog post: https://blog.jetbrains.com/phpstorm/2017/03/new-in-phpstorm-2017-1-parameter-hints/


    Now back to the actual question:

    NOTE: It's all working since 2017.1 version

    Either right click on such parameter and choose appropriate action from the menu

    or go via Settings/Preferences directly:

    Settings/Preferences | Editor | Appearance --> Show parameter names hints

    In latest 2019.3 version this option is now located at Settings/Preferences | Editor | Inlay Hints where you can configure that on per supported language basis:


    If you wish to customize colors used to display such hints (especially viable for custom color schemes that use dark background colors) then please do it at

    1. Settings/Preferences
    2. Editor | Colors & Fonts | Language Defaults
    3. Inline parameter hints node.

提交回复
热议问题