Go to Declaration
Use this command to navigate to the declaration of a symbol from any symbol usage. You can invoke this command from the Assembly Explorer, from the File Structure window and other tool windows.
To navigate in the opposite direction (symbol usages) you can use the Go to Usages of Symbol command.
Navigate to a declaration of a symbol
Place the caret at a symbol in the code viewer or select the symbol in a tool window.
Choose Ctrl key.
in the main menu, press Control+B, or click the symbol while holding theIf the command returns a single result, dotPeek navigates directly there. In case of multiple results, they will be listed in a drop-down where you can do one of the following:
Click the desired item to open it in the editor.
Select the desired item by pressing Up and Down and then press Enter to open it in the editor.
To view and analyze the list of matched items in the Find Results window, click Show in Find Results , press Shift+Enter or + on the numeric keypad .
Invoke this command on declarations
As Go to Declaration (including its Ctrl-click access) is one of the most frequently used commands, dotPeek streamlines your navigation experience letting you use this command in navigation scenarios related to usages of the declared symbol, so you can invoke Go to Declaration even if your caret is already at a symbol declaration to study symbol usages.
This feature is inspired by and borrowed from JetBrains ReSharper, a developer productivity tool for Microsoft Visual Studio.