Navigating and Searching (Visual C#)
Visual C# provides the following tools to help you navigate and search through your source code, project files, and open windows.
-
Class View
-
Navigation Bars
-
CTRL-TAB Navigation
-
Find in Files
Class View
The Class View window provides a view of your project based on classes instead of files, as in Solution Explorer. You can use Class View to quickly navigate to any class or class member in your project. To access Class View, click Class View on the View menu.
CTRL-TAB Navigation
At any given time you may have several active windows in a Visual C# project. To quickly navigate to a window, press CTRL+TAB to display a window that lists all of your active tools and source code windows. Move the arrow keys while holding down the CTRL key to select the window to display.
Navigation Bars
At the top of every code editor window is the navigation bar, which consists of two list boxes. The one on the left lists all the classes defined in the current file, and the one on the right lists all the members for the class that is selected in the left list box. You can go directly to a method by selecting it in the right list box.
Find in Files
By pressing CTRL+SHIFT+F you can open the Find in Files dialog box to perform search and replace operations across an entire project.
Note |
|---|
| To rename methods or types, or change method parameters, use the Refactoring feature, which is more thorough and intelligent than Search and Replace. For more information, see Refactoring. |
Note