如何在PhpStorm中禁用参数名称提示? [英] How to disable parameter name hints in PhpStorm?
问题描述
有什么方法可以禁用提示吗?
Is there any way to disable the hints?
推荐答案
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/
现在回到实际问题:
注意:自2017.1版本起
右键单击该参数,然后从菜单中选择适当的操作
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
在最新的2019.3 版本中,此选项现在位于Settings/Preferences | Editor | Inlay 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
-
Settings/Preferences
-
Editor | Colors & Fonts | Language Defaults
-
Inline parameter hints
节点.
Settings/Preferences
Editor | Colors & Fonts | Language Defaults
Inline parameter hints
node.
这篇关于如何在PhpStorm中禁用参数名称提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!