dotPeek 2018.1 Help

Go to Containing Declaration

Navigate | Containing Declaration

With a single shortcut, dotPeek helps you quickly navigate to the declaration of a type or a function from any position within its body.

To navigate to a containing declaration

  1. Set the caret into any position within the body of a type or a function.
  2. Press Ctrl+[ or choose Navigate | Containing Declaration from the main menu. Alternatively, you can press Ctrl+Shift+A, start typing the command name in the pop-up, and then choose it there.
  3. dotPeek will set 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: 20 August 2018

See Also