4

I'm using visual studio 2013 C++ and my IntelliSense is a bit weird, for example, when I type con for const the IntelliSense selector is in const but it is not highlighted yet so I have to move the arrow down then hit enter. How can I make it similar to C# IntelliSense, like it will automatically choose const when I hit spacebar or enter?

Codor
  • 17,447
  • 9
  • 29
  • 56
foss coffee
  • 159
  • 1
  • 4
  • We all hope for better intellisense; for nowdays I recommand Resharper for C++. – liran63 Jan 06 '15 at 05:41
  • They actually dropped IntelliSense support for C++ in Visual Studio 2010 (as [explained in this question](http://stackoverflow.com/questions/3345389/copy-constructor-versus-clone)) for reasons like this, but then reintroduced it in Visual Studio 2012 and it's still not that great for C++. It's great if your using a .NET programming language though. – SameOldNick Jan 06 '15 at 06:38
  • @ub3rst4r I'm pretty sure you meant to link to another answer – sehe Jan 06 '15 at 07:37
  • Oops... It was supposed to be this question: http://stackoverflow.com/questions/2681999/no-intellisense-for-c-cli-in-visual-studio-2010 – SameOldNick Jan 06 '15 at 08:13
  • I use VAX (Visual Assist) from wholetomato... this gives you intellisense like it should be. But it is commercial too. – xMRi Jan 06 '15 at 08:43
  • I just tried what you said, typing "con" and pressing tab and it went straight to "const". – Musaab Jan 06 '15 at 09:40

2 Answers2

0

You should press the TAB button instead. Whatever is in the selector is then gonna be typed in for you.

Like, in your example, when you typed con and the selector is in const, hit TAB and const will be typed in.

CodeBeginner
  • 329
  • 1
  • 7
0

In VS2017 go to

Tools/Options/Text Editor/C/C++/Advanced/IntelliSense

and change

Member List Commit Aggressive to True

Bogdan
  • 461
  • 4
  • 10