In xcode and in eclipse there is a version where we can go back and forth to our last cursor location.
For example, say I am editing one function. Then I go to the definition of that function. Then I want to go back to the first function.
Say I am editing A() that call B(). In A(), I go to the definition of B() and I want to go back to editing A() again.
How do I do so?
By default, Alt+Left navigates back, and if you remove the Alt+Right shortcut for Edit. CompleteWord in Microsoft Visual Studio, Alt+Right navigates forward.
In Visual Basic code files, use these commands to move the insertion point to different methods. Choose Edit > Next Method or Edit > Previous Method.
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+-.
Use Control-minus (Ctrl- "-"). See here
If it doesn't work, it's probably because you use a different key binding. Go to Tools->Options->Environment->Keyboad->"View.NavigateBackwards"
and add your key (Don't forget to Apply !)
Use the "Ctrl"-"Shift"-"-" to move forward after you have used "Ctrl"-"-" to move back.
see Microsoft blog
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