Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Color confusion: .NET namespaces & variables
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nels_P_Olsen
Senior Member

USA
47 Posts

Posted - Jan 30 2004 :  12:02:04 PM  Show Profile
Our namespaces follow the recommended scheme "CompanyName.SystemName.ApplicationName..." Unfortunately, someone has apparently named a variable someplace with the name of our company. Now, in all of our namespace references in C# "using" (VB "imports") statements, and in fully qualified typename references (variable declarations and casts), the "CompanyName." part is in the variable color ...

Suggested kludge for dealing with this: when an identifier is followed by a "." and another identifer, if the following identifier is a known namespace but not a known variable, the preceding identifier has to be namespace, so color it in the "class" color.

- Nels
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000