Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellisense "Toggle Completion Mode" doesn't work with C++ in 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.

The completion mode works fine in C#. Please help.

Thank you in advance!

like image 447
Steffen Avatar asked Nov 12 '12 22:11

Steffen


People also ask

How do I enable IntelliSense in Visual Studio?

To access this options page, choose Tools > Options, and then choose Text Editor > C# > IntelliSense.

How do you toggle IntelliSense?

To toggle between completion mode and suggestion mode, press Ctrl+Alt+Space, or choose Edit > IntelliSense > Toggle Completion Mode.

How do I disable IntelliSense in Visual Studio 2010?

It's actually easy for most languages: Select Tools/Options on the menu. On the Options dialog box, select Text Editor, then select the language you use, then select "General". Uncheck "Auto list members" and "Parameter completion".

Does Visual Studio support IntelliSense?

Visual Studio Code IntelliSense is provided for JavaScript, TypeScript, JSON, HTML, CSS, SCSS, and Less out of the box. VS Code supports word based completions for any programming language but can also be configured to have richer IntelliSense by installing a language extension.


2 Answers

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.

like image 125
James Pack Avatar answered Oct 12 '22 19:10

James Pack


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.

like image 21
bikjub Avatar answered Oct 12 '22 17:10

bikjub