With a single shortcut, ReSharper 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 ReSharper | Navigate | Containing Declaration , or press Ctrl+[.
- ReSharper 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 supported in the following languages/technologies:
The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see the corresponding topics in the ReSharper by Language section.