Visual Studio 2012-智能感知有时会消失/损坏 [英] Visual Studio 2012 - Intellisense sometimes disappearing / broken

查看:102
本文介绍了Visual Studio 2012-智能感知有时会消失/损坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和我的同事正在使用VS2012几周了.有时在工作几个小时后,智能感知就坏了.关闭所有打开的选项卡后,它将再次起作用.

My colleagues and I are using VS2012 for some weeks now. Sometimes after working several hours the intellisense is broken. After closing all open tabs it works again.

还有更多人遇到同样的问题吗?不可能是扩展问题,因为我在家也有同样的问题.也许有解决方法?

Are there more people out there having the same problem? It can't be an extension problem because I have the same problem at home. Maybe there is a workaround for this?

推荐答案

以下是使Visual Studio 2012 intellisense重回正轨的几种最佳解决方案,请尝试一一尝试,希望其中之一能够解决问题:

These are the few top solutions for getting Visual Studio 2012 intellisense back on track try them one by one, hope one of them will solve the problem:

When the problem occurs next time follow these: 从#1开始,当较早的版本对您不起作用时,移至下一个

1:Close all the tabs并再次打开文件. (感谢russds)

1: Close all the tabs and open your file again. (Thanks to russds)

2:Clean the Build> Close the Solution> Restart Visual Studio> Open the Solution

3:转到:Edit> IntelliSense> Refresh Local Cache

3: Goto: Edit > IntelliSense > Refresh Local Cache

4:关闭Visual Studio 2012并删除此文件夹:%AppData%\Microsoft\VisualStudio\11.0\ReflectedSchemas

4: Close Visual Studio 2012 and delete this folder: %AppData%\Microsoft\VisualStudio\11.0\ReflectedSchemas

5:转到:TOOLS> Import and Export Settings> Reset all settings

5: Goto: TOOLS > Import and Export Settings > Reset all settings

6:删除项目文件夹中的.suo文件. (感谢Jason Steele)

6: Delete .suo file in the project folder. (Thanks to Jason Steele)

我希望上述六个步骤中的任何一个都能解决您的问题. 但是,如果不是那样,我认为您应该考虑重新安装VS2012.

I am hopeful your problem will get solved by any of the above six steps. But if it doesn’t after all this than I think you should consider reinstalling your VS2012.

这篇关于Visual Studio 2012-智能感知有时会消失/损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆