Visual Studio 2010 IntelliSense doesn't select a default value - it just marks it

人盡茶涼 提交于 2019-11-30 10:05:39

问题


I have a pretty annoying problem with the IntelliSense in Visual Studio 2010:

Every now and then (but not always - just out of my control) the Intellisense engine chooses to "mark" an option, instead of actually selecting it. This means that instead of typing e n Enter to access the default option starting with "En...", I have to type e n down Enter.

Usually it works like this for a while, and then, suddenly, the behavior I want is back. My conclusion is that there is some option somewhere that is set automatically, and that I don't know how to control.

How do I make sure that the default option is always selected, and not just "marked"?

For reference: This is Visual Studio 2010 RC, with CodeRush Xpress 10.1.


回答1:


Try Ctrl-Alt-Space.

found that on Connect, and seems to work for me




回答2:


It can also be changed by going to Edit -> IntelliSense -> ToggleCompletionMode




回答3:


I had the same problem, but find pressing TAB always selects the default selection.




回答4:


You might switched into low- impact IntelliSense mode, just hit Ctrl+Alt+Space and it will solve the problem.




回答5:


For C++ at least,

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

and change Member List Commit Aggressive to True



来源:https://stackoverflow.com/questions/2639481/visual-studio-2010-intellisense-doesnt-select-a-default-value-it-just-marks-i

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