如何在Visual Studio 2022编辑器中禁用参数名称提示?

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

How to disable parameter name hints in the Visual Studio 2022 editor?

问题

如何禁用自最近更新以来开始显示的编辑器参数名称文本?在这个数组示例中,“index:”被显示。

英文:

How can I disable the editor parameter-name text which has started to show since a recent update? In this array example "index:" is shown.

如何在Visual Studio 2022编辑器中禁用参数名称提示?

答案1

得分: 3

这在Visual Studio中称为“内联提示”。您可以通过以下步骤自定义要显示的内容:

转到“工具”菜单 > “选项” > “文本编辑器” > “C#” > “高级” > “内联提示”组。

随意打开或关闭该设置。在您的特定情况下,您要查找的选项是“显示索引提示”。

英文:

This is called "Inline Hints" in Visual Studio. You can customize which are shown by going to

Tools Menu > Options > Text Editor > C# > Advanced > "Inline Hints" group

如何在Visual Studio 2022编辑器中禁用参数名称提示?

Turn the setting on and off as you like. In your particular case, you're looking for the "Show hints for indexers" option.

huangapple
  • 本文由 发表于 2023年1月8日 23:56:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/75049213.html
匿名

发表评论

匿名网友

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

确定