Intellisense “Toggle Completion Mode” doesn't work with C++ in Visual Studio 2010 Professional

后端 未结 2 533
南旧
南旧 2021-02-13 23:20

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.

2条回答
  •  离开以前
    2021-02-13 23:41

    There is no possibility to turn on suggestion mode on C++ IntelliSense (both in VS 2010 and 2012).

    MSDN Library (for VS 2010) says:

    Suggestion mode is available in Visual Basic and C#.

    It was reported (link) as a bug in VS 2012 RTM and the answer from Microsoft was:

    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.

    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.

提交回复
热议问题