Intellisense and error highlighting not working by default in VS2012

a 夏天 提交于 2019-12-13 02:35:48

问题


I've recently bought a new computer and as such have had to install visual studio 2012 onto it. When I installed it onto my last computer, everything worked fine by default; this time, auto-completion is off/not working and neither is error highlighting.

I've tried resetting the settings to their defaults but this has had no effect.

What else can I try?

Thanks.


回答1:


Did you try the second suggestion here Intellisense and code suggestion not working in Visual Studio 2012 Ultimate RC

Delete the files in this folder:

%AppData%\Roaming\Microsoft\VisualStudio\11.0\ReflectedSchemas




回答2:


Select Tool -> Options, then Text Editor. Under the language you are using (ie C#), go to the Advanced and make sure the Underline errors in the editor and Show live semantic errors are checked



来源:https://stackoverflow.com/questions/13783969/intellisense-and-error-highlighting-not-working-by-default-in-vs2012

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