PassionateDeveloper
PassionateDeveloper

Reputation: 15138

Visual Studio 2010 IntelliSense -> Enter will not AutoComplete any more

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?

Upvotes: 25

Views: 15787

Answers (2)

Bogdan
Bogdan

Reputation: 511

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.

Upvotes: 6

Ilkka
Ilkka

Reputation: 544

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.

Upvotes: 52

Related Questions