Intellisense“切换完成模式"不适用于Visual Studio 2010 Professional中的C ++ [英] Intellisense "Toggle Completion Mode" doesn't work with C++ in Visual Studio 2010 Professional
问题描述
在Visual Studio 2010 Professional的编辑"->智能"选项卡下,我的切换完成模式"出现问题.图片描述得很好.
I am having problems with my "Toggle Completion Mode" under the Edit->Intellisense tab in Visual Studio 2010 Professional. The picture describes it quite well.
完成模式在C#中可以正常工作. 请帮忙.
The completion mode works fine in C#. Please help.
提前谢谢!
推荐答案
无法在C ++ IntelliSense上打开建议模式(在VS 2010和2012中均如此).
There is no possibility to turn on suggestion mode on C++ IntelliSense (both in VS 2010 and 2012).
MSDN库(适用于VS 2010)说:
MSDN Library (for VS 2010) says:
建议模式在Visual Basic和C#中可用.
Suggestion mode is available in Visual Basic and C#.
据报道(链接)作为VS 2012 RTM中的错误,微软的回答是:
It was reported (link) as a bug in VS 2012 RTM and the answer from Microsoft was:
C ++ Intellisense仅具有一种完成模式,而VB和C#Intellisense具有两种不同的完成模式.因此,此命令在完成模式之间切换对于C ++ Intellisense不可用.
C++ Intellisense only has one completion mode, while VB and C# Intellisense has two different completion modes. Therefore, this command to toggle between completion modes is not available for C++ Intellisense.
如果您忘记按ESC时在按下空格后插入不需要的代码而感到烦恼,则可以仅在按下ctrl + space(或alt +向右箭头)后才能显示成员列表.为此,请转到Tools -> Options -> Text Editor -> C/C++ -> General
并取消选中Auto list members
.
If you're annoyed by inserting unwanted code after pushing space when you forget to press ESC you can make the member's list show up only after pressing ctrl+space (or alt+right arrow). In order to do that go to Tools -> Options -> Text Editor -> C/C++ -> General
and uncheck Auto list members
.
这篇关于Intellisense“切换完成模式"不适用于Visual Studio 2010 Professional中的C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!