Visual Studio 2010 IntelliSense-> Enter将不再自动完成 [英] Visual Studio 2010 IntelliSense -> Enter will not AutoComplete any more
问题描述
我非常使用VS2010的IntelliSence. 有时,我无法确定IntelliSence何时以及为何发生变化.
I am very much use IntelliSence of VS2010. Sometimes, I can not tell when and why, the IntelliSence changes.
示例:标签lblTestTest
Example: Label lblTestTest
正常的行为是: 我键入"lblTes"-查看选择标签的IntelliSence-按Enter-自动完成单词,我键入".Te"-查看选择属性".Text"的IntelliSence-按Enter-Autocomplete.
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.
有时是: 我输入"lblTes"-看到选择标签的IntelliSence-按下Enter键- Enter键不会激活自动完成功能,它会在我的代码中执行Enter键(LineBreak),而不会自动完成.
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.
我必须: 我输入"lblTes"-看到选择标签的IntelliSence-按下-按下Enter-自动完成
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.
有什么想法吗?
推荐答案
我遇到了同样的问题,但是找到了解决方法.
I had same problem, but I found a fix.
在VS 2010中,有一个新的建议模式,有时候是好的,但是大多数时候不是.因此,当显示自动完成"框时,请按crtl + alt + space进入旧模式.如果需要返回建议模式,请再次按crtl + alt + space.
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.
这篇关于Visual Studio 2010 IntelliSense-> Enter将不再自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!