开发者

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

开发者 https://www.devze.com 2023-02-08 11:47 出处:网络
I am very much use IntelliSence of VS2010. Sometimes, I can not tell when and why, the IntelliSence changes.

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 wh开发者_如何学Goo 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?


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消