简体   繁体   English

错误检测Visual Studio 2010

[英]Error detection Visual Studio 2010

I just downloaded visual studio 2010 professional and was surprised that error correction does not seem to work. 我刚刚下载了Visual Studio 2010 Professional ,但惊讶于纠错似乎不起作用。 I have already checked under 我已经检查了

Tools -> Options -> TextEditor -> C/C++ -> Advanced but everything seems ok. 工具->选项-> TextEditor-> C / C ++->高级,但一切似乎正常。 Error detection disabled is set to FALSE. 错误检测禁用设置为FALSE。

I want VS to autodetect error - in the same way as misspellings are detected in Eclipse For instance 我希望VS自动检测错误-就像在Eclipse中检测到拼写错误一样

  cout // get error notification if I omitt the namespace std
  cour // oups, wrong keystroke. Underline immediately

and so on ... 等等 ...

I think you have to hit F5 or Build project. 我认为您必须按F5或Build project。 VS2010 is very sluggish sometimes. VS2010有时很呆滞。

It helps to re-build the entire solution sometimes. 有时有助于重新构建整个解决方案。 I've noticed that occasionally, Visual Studio can end up with corrupt debug files. 我注意到,有时Visual Studio可能会出现损坏的调试文件。 Re-building the entire solution usually fixes the corrupt files. 重新构建整个解决方案通常可以修复损坏的文件。

Rebuild whole solution. 重建整个解决方案。 VS 2010 is not very good release of that IDE. VS 2010并不是该IDE的很好的发行版。 I suggest migrating to VS 2012 or VS 2013. 我建议迁移到VS 2012或VS 2013。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM