How to: Work with Folders in Class View
Class View allows you to create virtual folders to organize frequently used symbols and provide quick access to them. These virtual folders are saved in the active solution (.suo) file.
To create a new folder, select the New Folder button on the Class View toolbar. If an existing folder node is selected, a new subfolder is created within it. Otherwise, a top-level folder is created. You can drag both symbols and other folders into a Class View folder.
Class View folders offer an alternate view of selected symbols in your projects. Copying symbols into folders or removing symbols from them has no effect on your code. These virtual folders serve only as organizational and navigational aids.
Not
After you rename or delete a symbol in your code, it might continue to appear as an error node within a Class View folder. To correct this problem, delete the error node from the folder. If a symbol has been renamed, drag it from the Class View tree into the folder again.
To create a virtual folder in Class View
Select a project or object node.
—or—
Select an existing folder.
Click the New Folder button on the Class View toolbar.
Type a name for the new folder and press ENTER.
To remove a selected folder
Choose Delete on the Edit menu.
—or—
Right-click the folder and choose Delete from its shortcut menu.
To add symbols to a folder
Select one or more symbols, using the SHIFT and CTRL keys.
Drag the selected symbols into the desired folder.
Not
You can also copy and paste symbols within Class View.
To remove a selected item from a folder
Choose Delete on the Edit menu.
—or—
Right-click the item and choose Delete from its shortcut menu.
To rename a selected folder
Press F2, or right-click the folder and choose Rename.
Type the new folder name and press ENTER. To cancel the renaming, press ESC.
Not
Two folders at the same level cannot share the same name.
To move a folder
Right-click the folder and choose Move To Top from its shortcut menu.
—or—
Drag the folder to a new location.
See Also
Tasks
How to: Search for Objects, Definitions, and References (Symbols)
Reference
Class View and Object Browser Icons