Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

VS.Net IDE Code Browsing

Is there a shortcut in VS.Net to return the cursor to it's previous position after hitting 'F12' to "Go to definition"? 
'Visual Studio 6 provided this command via 'Ctrl-Keypad *', but I have yet to find the same command in VS.Net.  Ctrl-Z' will return to the previous position in VS.Net, but has the unwanted side effect of undoing the previous code change as well.

John Lemberger
Thursday, September 19, 2002

Easy, use the "Navigate Backward" feature (Ctrl+-).  Be sure to use the "-" that's NOT on the numeric keypad.

David Weller
Thursday, September 19, 2002

Thanks.  'Navigate Backward' does work better than 'Undo'.  However, it returns you to the last position edited rather than the last position where you hit 'F12'.

John Lemberger
Thursday, September 19, 2002

Hmm... I'm not seeing that behaviour.  That means it's fixed in the next version (I work at MS :-)

David Weller
Thursday, September 19, 2002

*  Recent Topics

*  Fog Creek Home