如何在 Visual Studio 2010 中关闭代码工具提示?

如何在 Visual Studio 2010 中关闭代码工具提示?

问题描述:

似乎无论我的鼠标在我的代码窗口中的哪个位置,它都会显示有关它下面内容的工具提示信息,我觉得这很分散注意力,也很烦人.谁能告诉我如何关闭编辑器中的工具提示?

It seems wherever my mouse is in my code window it will bring up tooltip information about what's under it, this I find very distracting and quite annoying. Can anyone tell me how to turn off the tooltips in the editor?

编辑:C# 的说明

我创建了一个禁用 C# 快速信息的扩展:DisableQuickInfo.vsix.

I created an extension that disables quick info for C#: DisableQuickInfo.vsix.

来源 非常简单,只是一个快速的信息来源立即解除它获得的会话.如果您安装了 SDK,您可以很容易地修改它以适用于任何语言.如果您需要这方面的帮助,请告诉我.

The source is pretty simple, just a quick info source that immediately dismisses the session it gets. You can modify it pretty easily to apply to any language, if you have the SDK installed. Let me know if you want help with that.

C/C++ 的原始答案:

Original answer, for C/C++:

什么语言?例如,对于 C/C++,您需要将 Tools->Options->Text Editor->C/C++->Advanced->Auto Quick Info 设置为 False代码>.我认为这是您可以禁用它的少数语言之一.

What language? For C/C++, for example, you'd set Tools->Options->Text Editor->C/C++->Advanced->Auto Quick Info to False. I think it's one of the few languages you can disable it for.

(称为快速信息",以供将来参考)

(It's called "Quick Info", for future reference)