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

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

问题描述

我和我的同事已经使用 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 智能感知重回正轨的少数几个顶级解决方案,一一尝试,希望其中一个能够解决问题:

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:

下次出现问题时,请按照以下步骤操作:从#1 开始,当前一个不适合你时移动到下一个

1:关闭所有标签并再次打开您的文件.(感谢 russds)

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

2: 清理构建 > 关闭解决方案 > 重新启动Visual Studio > 再次打开解决方案

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

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

3: Goto: Edit > IntelliSense > Refresh Local Cache

4:关闭 Visual Studio 2012 并删除此文件夹:%AppData%MicrosoftVisualStudio11.0ReflectedSchemas

4: Close Visual Studio 2012 and delete this folder: %AppData%MicrosoftVisualStudio11.0ReflectedSchemas

5:转到:TOOLS > 导入和导出设置 > 重置所有设置

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 - Intellisense 有时会消失/损坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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