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

来源:互联网 发布:网络无法连接有个叹号 编辑:程序博客网 时间:2024/05/29 03:20

不知道诸位有没有出现过这样的情况?如下图

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

Microsoft Visual Studio 2010Version 10.0.30319.1 RTMRelMicrosoft .NET FrameworkVersion 4.0.30319 RTMRelInstalled Version: UltimateMicrosoft Visual C# 2010   01019-532-2002102-70416Microsoft Visual C# 2010Microsoft Visual C++ 2010   01019-532-2002102-70416Microsoft Visual C++ 2010Microsoft Visual Studio 2010 Architecture and Modeling Tools   01019-532-2002102-70416Microsoft 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-70416Microsoft Visual Studio 2010 Code Analysis Spell CheckerPortions 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-70416Microsoft Visual Studio 2010 Team ExplorerMicrosoft Visual Web Developer 2010   01019-532-2002102-70416Microsoft Visual Web Developer 2010Crystal Reports Templates for Microsoft Visual Studio 2010   Crystal Reports Templates for Microsoft Visual Studio 2010Visual 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 矩形;// 是好的// 类的完善代码

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

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

最后导致:

        番茄不给代码变色,中间的代码也失去了提示效果。