dotPeek 2024.2 Help

Navigate to containing declaration

When your caret is anywhere in the body of a type or a function, you can jump to the declaration of that type or function with a single shortcut.

Go to containing declaration

  1. Place the caret anywhere in the body of a type or a function.

  2. Press Control+[ or choose Navigate | Containing Declaration from the main menu . Alternatively, you can press Control+Shift+A, start typing the command name in the popup, and then choose it there.

  3. dotPeek will place the caret to the declaration of the type or function.

  4. If the type or function 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.

Last modified: 23 September 2024