Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 336
PassionateDeveloper Avatar asked Feb 03 '11 08:02

PassionateDeveloper


People also ask

How do I enable IntelliSense in Visual Studio 2010?

1) Use the Tools->Options menu command, select the Text Editor->C# settings, and then check the two circled check boxes above (Auto-list members and Parameter information). IntelliSense will then be turned on and work fine.

Why does IntelliSense stop working?

If IntelliSense is not working as it should on your Windows 11/10 PC, you can try restarting VS Code and this should solve the issue.

How do I enable autocomplete in Visual Studio?

The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space . If necessary, you can always return to the Visual Studio's native's IntelliSense. To do so, select Visual Studio on the Environment | IntelliSense | General page of ReSharper options ( Alt+R, O ).


2 Answers

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.

like image 172
Ilkka Avatar answered Sep 28 '22 02:09

Ilkka


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.

like image 32
Bogdan Avatar answered Sep 28 '22 00:09

Bogdan