Visual Studio C# IntelliSense 不自动显示 [英] Visual Studio C# IntelliSense not automatically displaying
问题描述
就在最近,我的 Visual Studio 2010 在我打字时停止自动显示 IntelliSense 建议.我仍然可以按 ctrl+space 使其工作,但它不会像以前那样自动显示建议列表.我已经尝试禁用我的所有扩展,重新启动 VS 和计算机,并且我已经检查了所有适当的设置(选项 -> 文本编辑器 -> C# -> IntelliSense)以确保它被设置为在一个字符之后提供建议打字.
Just recently, my Visual Studio 2010 stopped displaying IntelliSense suggestions automatically while I am typing. I can still press ctrl+space to get it to work, but it doesn't automatically show a list of suggestions like it used to. I have already tried disabling all my extensions, restarting VS and the computer, and I have checked all the appropriate settings (Options -> Text Editor -> C# -> IntelliSense) to make sure that it is set to offer suggestions after a character is typed.
有没有人见过这种行为?有没有人对我如何让 IntelliSense 恢复到以前的状态有任何其他建议?如果没有,我可能只需要重新安装 VS...
Has anyone seen this behavior before? Does anyone have any other suggestions for how I can get IntelliSense to go back to the way things were before? If not, I might just have to do a fresh reinstall of VS...
推荐答案
在散文中,如果您看不到上图:
In prose, in case you can't see the above image:
打开工具 > 选项 > 文本编辑器.如果您只对一种语言有此问题,请找到该语言;如果是所有内容,请单击所有语言".在顶部,会出现一些标记为自动列表成员"、隐藏高级成员"和参数信息"的选项.确保所有这些都已启用(尽管第二个可能已禁用;如果是,请忽略它).
Open Tools > Options > Text Editor. If you're only having this issue with one language, find that language; if it's for everything, click "All Languages". Right at the top, there'll be a few options labeled "Auto list members", "Hide advanced members", and "Parameter information". Make sure all of those are enabled (though the second may be disabled; if so, ignore it).
这篇关于Visual Studio C# IntelliSense 不自动显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!