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?
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 !)