您的位置:首页 > 其它

VS2010的BUG?类名字问题,不变蓝色。

2012-11-20 20:38 232 查看
不知道诸位有没有出现过这样的情况?如下图

现在我用的VS2010的版本如下,

Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: Ultimate

Microsoft Visual C# 2010   01019-532-2002102-70416
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01019-532-2002102-70416
Microsoft Visual C++ 2010

Microsoft Visual Studio 2010 Architecture and Modeling Tools   01019-532-2002102-70416
Microsoft Visual Studio 2010 Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Microsoft Visual Studio 2010 Code Analysis Spell Checker   01019-532-2002102-70416
Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer   01019-532-2002102-70416
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01019-532-2002102-70416
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010   
Crystal Reports Templates for Microsoft Visual Studio 2010

Visual Assist X   
For more information about Visual Assist X, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c) 1997-2011 Whole Tomato Software, Inc.


这样的一段代码,如果完善后编译也不会出现问题。

class 直线;	// 变蓝色
class 支;	// 不变色??
class 支线;	// 也?
class 矩形;	// 是好的
// 类的完善代码


但是执行中可能遇到一些问题。

我就是在对话框的类名中,用了一个“支”字,

最后导致:

番茄不给代码变色,中间的代码也失去了提示效果。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: