如何在PhpStorm中禁用参数名称提示? [英] How to disable parameter name hints in PhpStorm?

查看:130
本文介绍了如何在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

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

这篇关于如何在PhpStorm中禁用参数名称提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆