英文:
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.
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中:
- 转到“文件” -> “首选项” -> “设置”(或使用快捷键Ctrl+,在Windows/Linux上,或Cmd+,在macOS上)以打开设置。
- 在设置中,搜索“参数提示”或导航到“文本编辑器” -> “参数提示”。
- 取消选中“参数提示”旁边的复选框以禁用该功能。
关闭设置。警告:这将应用于Visual Studio Code中的所有编程语言。
英文:
in visual studio code
-
Go to "File" -> "Preferences" -> "Settings" (or use the shortcut
Ctrl+, on Windows/Linux or Cmd+, on macOS) to open the settings. -
In the settings, search for "Parameter Hints" or navigate to "Text
Editor" -> "Parameter Hints". -
Uncheck the checkbox next to "Parameter Hints" to disable the
feature.Close the settings. warning it will applied to all programming languages in vscode.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论