Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Go to declaration in Visual Studio

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?

like image 209
Bala Avatar asked Jan 28 '11 08:01

Bala


People also ask

How do I get to the declaration in Visual Studio?

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.

What is go to declaration?

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.

How do you jump to a function in Visual Studio?

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!

What is go to definition in Visual Studio?

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.


1 Answers

Ctrl + - will help you....! ;)

like image 88
Andrew Orsich Avatar answered Sep 20 '22 00:09

Andrew Orsich