Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 shortcut to go back from definition [duplicate]

In Visual Studio when going to definition by pressing F12, it takes you to definition. Is there any way to go back to where you came from?

This is specially annoying when you have definition within same file. If it's in another file then it's ok Ctrl+Tab take you back to previous window. But when it's in same file then have to find where you came from and go there.

like image 973
mamu Avatar asked Jun 27 '10 21:06

mamu


People also ask

What is Ctrl Shift F in Visual Studio?

Ctrl-Shift-F is used to find all the ocuurance of a string with in entire solution and display find result window as shown below. Ctrl-F is used to find a string in the current document, project and all open documents one by one.

What does Ctrl w do in Visual Studio?

How to use Ctrl+W to close a tab in Visual Studio – Done by code.

How do you go back in F12 after VS Code?

Select a symbol then type F12. Alternatively, you can use the context menu or Ctrl+click (Cmd+click on macOS). You can go back to your previous location with the Go > Back command or Ctrl+Alt+-.


1 Answers

Try the key combination: Ctrl + -.

like image 146
Raj Kaimal Avatar answered Oct 10 '22 22:10

Raj Kaimal