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

Deadly 提交于 2019-12-04 08:19:06

问题


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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/4883898/visual-studio-2010-intellisense-enter-will-not-autocomplete-any-more

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!