开发者

How to enable error highlighting in visual c++ express 2008/2010?

Does visual studio really not come with basic syntax checker? I've got both 2008 and 2010 and they won't show me any error, like missing semicolons or unmatched brackets

The closest advice I've found is to enable tools -> options -> text editor -> C/C++ -> Advanced -> Underline Errors in the editor, which doesn't exi开发者_运维百科st


I figured it out..

"CLR Empty Project" doesn't have this functionality for some reason, "Empty Project" does however.


I think C++ projects do not get active syntax checking like the counter parts in .NET languages. The errors will only appear when you build the project.


Tools->Options->Text Editor->c/c++->General-> unchecking "Word wrap" (under settings) could solve the problem. Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜