Navigation and Search
dotPeek enables you to find your way through the source code using the declarations, members, method calls, inheritance hierarchy, etc.
The scope of navigation and search includes all assemblies currently loaded in the Assembly Explorer and all assemblies referenced from those assemblies. See Navigating to Compiled Code to learn how the navigation is performed withing compiled assemblies.
Navigation and search commands are available in themenu, keyboard shortcuts, as well as on the context menu of the code viewer and other windows.
Depending on your task, different sets of dotPeek's navigation and search features may help you:
- If you need to find anything in your solution or referenced libraries by name, study the commands in the Navigation by Name section.
- If you need to go to any items related to the current code symbol, study the commands in the Navigation from Symbols section.
- dotPeek also provides a general-purpose Navigate To shortcut that groups all navigation options available from the current caret position. To learn more about this shortcut, see Navigate to section.
- If you want to find usages of a particular symbol in the current file, project, solution, or referenced libraries, study the commands in the Finding Usages section.
- Depending on the current caret position in the editor, dotPeek can suggest you a lot of relevant navigation options. To learn more about these options, see Context-Dependent Navigation.
- If you need to find any text in the current document, use the Quick Find window.
- dotPeek supports the Go to Line command that brings you to a specific line in the current document.
Besides, dotPeek provides other means of navigation:
For types and interfaces that are overridden and implemented elsewhere, for
methods implementing, overriding or hiding other methods,
dotPeek shows gutter icons that provide quick navigation up and down the inheritance hierarchy:
For more information, see Go to Base Symbols and Go to Derived Symbols.
- The File Structure window that represents the structure of the current file retaining and navigation features. For more information, see Viewing File Structure.
- The Stack Trace Explorer window that enables you to navigate from a stack trace to the error location in the source code, and thus pinpoint the malfunction. For more information, see Navigating to Exception.
Most of ReSharper's navigation and search features are available in C# and Visual Basic .NET , some are available in several languages, others are language-specific. The table below lists all navigation and search features and languages/technologies where they are supported.
The instructions and examples given in the topics within this section address the use of navigation and search features in C#. For more information on navigation and search features available for specific languages, see the corresponding topics in the ReSharper by Language section.