Auto-Using

The Visual Studio 2005 Integrated Development Environment (IDE) includes Smart Tag support for auto-using statements, which detect when your code is missing a using statement to qualify a data type—a common error that prevents IntelliSense from working.

For example, if you type Debug.WriteLine, a red indicator appears next to the statement when it is an unqualified data type. To qualify this data type, use your mouse to hover over the red indicator, click the Smart Tag icon to display a list of using statments, and then select either the appropriate using statement or the fully qualified name of the class that you want to work with.

Smart Tag menu access to members of a class