Navigate | Containing Declaration
With a single shortcut, dotPeek helps you quickly navigate to the declaration of a type or a method from any position within its body.
- Set the caret into any position within the body of a type or a method.
- On the main menu, choose Navigate | Containing Declaration, or press Ctrl+[.
- dotPeek will set the caret to the declaration of the type or method.
- If the type or method is declared within another type, you can repeat step two to navigate to the declaration of the containing type.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.