Visual Studio 2013 C++ IntelliSense shows suggestion but does not commit them by pressing any of the member list commit characters

StackOverflow https://stackoverflow.com/questions/20342223

  •  07-08-2022
  •  | 
  •  

Question

When I type in a C++ project , I get suggestion. I can commit the selected suggestion by hitting Tab key; But if I press enter or space or any of the member list commit characters :

{}[]().,:;+-*/%&|^!=<>?@#\

, Intellisense doesn't commit the selected option. I want this suggestion to be committed with any of these characters, exactly as the default settings in C#.

Was it helpful?

Solution

  • Open Options from menus: Tools -> Options
  • Navigate to page: Text Editor -> C++ -> Advanced
  • Scroll down to Intellisense section
  • Change the option: Member List Commit Aggressive from False to True

OTHER TIPS

I had the same problem. I am using C++ together with Boost. There is a famous linker problem with Boost in debug mode.

I fixed this problem by the preprocessor macro _HAS_ITERATOR_DEBUGGING 0

But intellisense stopped working. I looked in the Error List tab of Visual Studio and found an entry which says intellisense has a problem wwith this macro.

After I changed this macro to _HAS_ITERATOR_DEBUGGING=0

intellisense works perfectly.

Hopefully this will help you Walter

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top