How do you enable auto-complete functionality in Visual Studio C++ express edition?

121,430

Solution 1

Start writing, then just press CTRL+SPACE and there you go ...

Solution 2

When you press ctrl + space, look in the Status bar below.. It will display a message saying IntelliSense is unavailable for C++ / CLI, if it doesn't support it.. The message will look like this -

enter image description here

Solution 3

All the answers were missing Ctrl-J (which enables and disables autocomplete).

Solution 4

  • Goto => Tools >> Options >> Text Editor >> C/C++ >> Advanced >> IntelliSense
  • Change => Member List Commit Aggressive to True

Solution 5

It's enabled by default. Probably you just tried on an expression that failed to autocomplete.

In case you deactivated it somehow... you can enable it in the Visual Studio settings. Just browse to the Editor settings, then to the subgroup C/C++ and activate it again... should read something like "List members automatically" or "Auto list members" (sorry, I have the german Visual Studio).

Upon typing something like std::cout. a dropwdownlist with possible completitions should pop up.

Share:
121,430
Asad
Author by

Asad

Updated on July 09, 2022

Comments

  • Asad
    Asad almost 2 years

    Please guide me, how do you enable autocomplete functionality in VS C++? By auto-complete, I mean, when I put a dot after control name, the editor should display a dropdown menu to select from.

    Thank you.