[英]Visual Studio lists parameters names in front of arguments to functions in C
I recently started using C in Visual Studio, and I've been having an issue where Visual Studio automatically lists the name of parameters in front of arguments to functions.我最近开始在 Visual Studio 中使用 C,我遇到了一个问题,即 Visual Studio 会自动将 arguments 前面的参数名称列出到函数中。 It's possible I unintentionally pressed a key.
我可能无意中按下了一个键。
Example:例子:
As you can see in the image, the _Format:
is being displayed, which is quite annoying.正如您在图像中看到的,正在显示
_Format:
这很烦人。 I have browsed through the text editor settings, but I can't seem to find the issue.我浏览了文本编辑器设置,但似乎找不到问题。
I mainly use VS for C#, and so far this only seems to happen with C.我主要将VS用于C#,到目前为止,这似乎只发生在C上。 Any solution would be appreciated.
任何解决方案将不胜感激。
As one answer already stated, this option exists for C#.正如已经说明的一个答案,此选项适用于 C#。
But if that doesn't work for C, check the following link: similar problem但如果这对 C 不起作用,请检查以下链接:类似问题
Quote from the linked answer:引用链接的答案:
"If you're using C/C++ the inline hints works a bit differently. Here alt-F1 or Ctrl-Ctrl can TOGGLE hints."
“如果您使用 C/C++,内联提示的工作方式会有所不同。这里 alt-F1 或 Ctrl-Ctrl 可以切换提示。”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.