When we right click and click "Go to declaration" in Visual Studio, it navigates to that method.
What is the hotkey to get back where we came from?
Navigate to a declaration of a symbol Place the caret at a symbol in the editor or select the symbol in a tool window. Choose ReSharper | Navigate | Go to Declaration in the main menu, press F12 , or click the symbol while holding the Ctrl key.
Last modified: 25 October 2021. Navigate | Go to Declaration or Usages. F12. Use this command to navigate to the declaration of a symbol from any symbol usage. You can invoke this command from the Solution Explorer, from the Structure window and other tool windows.
I found one trick in visual studio: Place the cursor on the empty to get the context (name of the function), copy the name of the function, then click the drop down arrow where all functions will be listed, paste the function name, enter. Then you are at the beginning of that function!
In Visual Studio, the Go To Definition and Peek Definition features enable you to easily view the definition of a type or member. If the source code is not available, metadata is displayed instead.
Ctrl + - will help you....! ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With