dotPeek Help

Go to Implementation

Navigate | Go To Implementation

This command lets you jump from a base type or member to any of its end implementations, bypassing intermediate steps in the inheritance chain. In other words, it works similar to Go to Derived Symbols but it doesn't show abstract classes and interfaces .

You can invoke this command from the code viewer, from the File Structure and other tool windows. If necessary, you can navigate in the opposite direction with the Go to Base Symbols command.

To navigate to implementation of a type or type member

  1. Place the caret on a symbol in the code viewer or select the symbol in a tool window.
  2. Choose menuPath in the main menu, press Ctrl+Shift+Alt+B, or click the symbol holding Ctrl+Alt keys.
  3. If the symbol has only one implementation, dotPeek will navigate to it directly. If necessary, you can change the default behavior so that even the single symbol is displayed in the drop-down list. To do so, clear the check box in the options page.
  4. If the symbol several implementations, they will be listed in a drop-down list. The drop-down list may contain items in both The drop-down list may contain items in both bold and regular font. Bold indicates that an item has direct inheritance, while the regular font is used for indirect inheritance.
    You can do one of the following:
    • Click on the desired item to open it in the editor.
    • Select the desired item by pressing UpArrow and DownArrow and the press Enter to open it in the editor.
    • Start typing to filter results. Note that you can use CamelHumps here. If necessary, press Esc once to clear the filtering.
    • To view and analyze the list of matched items in the Find Results window, click Show in Find Results go_to__show_in_find_results or press + on the numeric keypad.

If there are several implementations in an inheritance chain, Go to Implementation bypasses intermediate steps. Suppose that interface IDocument has the following inheritors:


However, when you invoke Go to Implementation upon the declaration or a usage of the IDocument interface, dotPeek shows only four inheritors:

That's because DocumentBase, being an abstract class, doesn't contain implementation of the IDocument interface, as well as ManagedDocumentBase and VsDocumentCommon.

This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.

See Also

Last modified: 3 September 2015