VS2010的BUG?類名字問題,不變藍色。
阿新 • • 發佈:2019-01-10
不知道諸位有沒有出現過這樣的情況?如下圖
現在我用的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 矩形; // 是好的
// 類的完善程式碼
但是執行中可能遇到一些問題。
我就是在對話方塊的類名中,用了一個“支”字,
最後導致:
番茄不給程式碼變色,中間的程式碼也失去了提示效果。