Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After "Go to Definition", is there a command to return to where you came from?

If so, is it a stack?
That is, can I:
GoToDefinition
GoTODefinition
GoToDefinition

and then pop back up the call stack?
None of the Edit.GoTo... commands do what I am looking for.
TIA.

like image 847
Number8 Avatar asked May 18 '09 13:05

Number8


People also ask

How do you jump to definition or code?

If a language supports it, you can go to the definition of a symbol by pressing F12. Tip: You can jump to the definition with Ctrl+Click or open the definition to the side with Ctrl+Alt+Click.

How do I go back to define in Visual Studio?

For those using newer versions of Visual Studio Code: the shortcut is Alt + ← . Alternatively, click Go --> Back .

How do I go back to a function in Vscode?

Shift + F12 should be working for you.


1 Answers

You can go to the last place you navigated to by doing CTRL+-

(That's the control key and the "minus" or "dash" key.)

like image 103
Brian Sullivan Avatar answered Sep 20 '22 12:09

Brian Sullivan