In VS2008, is there a way to return to the cursor’s previous position after pressing F12 to jump to a function definition? I know this is possible with some add-ons, but if there a way to get the core product to do this?
+2
A:
Ctrl+- should do the trick which is the standard keyboard shortcut for navigate backwards. Or using the navigation buttons in the standard toolbar.
Edit: To change the keyboard shortcut, go to Tools > Options > Environment > Keyboard and change the shortcut for View.NavigateBackward.
PMN
2010-06-23 12:59:16
BTW the minus on the numeric pad does not seem to work, only the one near the backspace key.
thelost
2010-06-23 13:03:31
Yes it does, is there an easy way to change that combination to something shorter is there?
pm_2
2010-06-23 13:11:53
Tools > Options > Environment > Keyboard and change the shortcut for View.NavigateBackward
PMN
2010-06-23 13:21:58