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

后端 未结 2 538
南旧
南旧 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.

    0 讨论(0)
  • 2021-02-14 00:01

    I know this was posted a long time ago but I figured I would offer my solution. I changed the shortcut to something that is not as annoying as ctrl + space. You can do this in Options -> Keyboard -> Edit.CompleteWord.

    Hope this helps someone.

    0 讨论(0)
提交回复
热议问题