禁用函数的工具提示

huangapple go评论58阅读模式
英文:

Disable tooltip for a function

问题

有没有人有办法隐藏在Visual Studio Code编写函数时出现的工具提示?我真的不需要每次键入函数时都得到每个函数的详细描述,这个功能实在是过于冗余。这不是关于悬停 - 这些工具提示在键入时弹出。也不是关于变量/函数的建议。

我使用以下扩展来使用Visual Studio Code:Python、Pylint、Pylance、Code Runner、autopep8。

问题的截图

我已经查看了设置并在网上搜索了一个多小时,但未能找到答案。

英文:

Does anyone have an idea how to hide the tooltip that appears during writing a function in Visual Studio Code? I don't really need a full description of every function every time I type it, this feature is a huge overkill. It's not about hovering - these tooltips pop up during typing. It's also not about the suggestions for variables/functions.

I use Visual Studio Code with following extensions: Python, Pylint, Pylance, Code Runner, autopep8.

Screenshot of the problem

I've look through the settings and searched the web for over an hour but I failed to find the answer.

答案1

得分: 0

在Visual Studio Code中:

  1. 转到“文件” -> “首选项” -> “设置”(或使用快捷键Ctrl+,在Windows/Linux上,或Cmd+,在macOS上)以打开设置。
  2. 在设置中,搜索“参数提示”或导航到“文本编辑器” -> “参数提示”。
  3. 取消选中“参数提示”旁边的复选框以禁用该功能。

关闭设置。警告:这将应用于Visual Studio Code中的所有编程语言。

英文:

in visual studio code

  1. Go to "File" -> "Preferences" -> "Settings" (or use the shortcut
    Ctrl+, on Windows/Linux or Cmd+, on macOS) to open the settings.

  2. In the settings, search for "Parameter Hints" or navigate to "Text
    Editor" -> "Parameter Hints".

  3. Uncheck the checkbox next to "Parameter Hints" to disable the
    feature.

    Close the settings. warning it will applied to all programming languages in vscode.

huangapple
  • 本文由 发表于 2023年7月10日 16:40:02
  • 转载请务必保留本文链接:https://go.coder-hub.com/76652083.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定