25

I am very much use IntelliSence of VS2010. Sometimes, I can not tell when and why, the IntelliSence changes.

Example: Label lblTestTest

The normal behavoir is: I type "lblTes" - see the IntelliSence who select the Label - Push Enter - Autocomplete the word, I type ".Te" - see the IntelliSence who select the Property ".Text" - Push Enter - Autocomplete.

Sometimes it is: I type "lblTes" - see the IntelliSence who select the Label - Push Enter - The Enter does NOT activate the AutoComplete, It makes an Enter (LineBreak) in my Code, WITHOUT autocomplete.

I have to: I type "lblTes" - see the IntelliSence who select the Label - Push down - Push Enter - Autocomplete

I hopw you guys understand what I mean. Its only a little difference, but it steals me hours in total, when this "bug" or "Change" is there.

Any Idea?

bkaid
  • 51,465
  • 22
  • 112
  • 128
PassionateDeveloper
  • 14,558
  • 34
  • 107
  • 176
  • 4
    I never use Enter, I use Tab. Disable add-ins, uninstall Bing toolbar. – Hans Passant Feb 03 '11 at 11:40
  • possible duplicate of [Visual Studio 2010 IntelliSense doesn't select a default value - it just marks it](http://stackoverflow.com/questions/2639481/visual-studio-2010-intellisense-doesnt-select-a-default-value-it-just-marks-i) – Cody Gray - on strike Sep 12 '14 at 07:41

2 Answers2

52

I had same problem, but I found a fix.

In VS 2010 there is new suggestion mode, what is good, sometimes, but most of times it's not. So when autocomplete box is shown, press crtl+alt+space to go to old mode. And if you need go back to suggestion mode, press crtl+alt+space again.

Ilkka
  • 544
  • 5
  • 2
  • Thanks for that llkka. That thing i VS2010 has annoyed me a lot. Now that problem is a goner =) – Ted Apr 21 '11 at 21:56
  • Aaaahhh Thats better. Its amazing how annoying this stupid problem is. Must have accidentally hit ctrl+alt+space somewhere along the way. – The Lazy Coder Dec 06 '13 at 01:58
6

In VS2017, for C++ at least, go to

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

and change Member List Commit Aggressive to True

Also you can use TAB instead of Enter.

Bogdan
  • 461
  • 4
  • 10