Did you know... How to jump to the beginning of some selected text when hitting escape? - #092

I hope this tip’s title makes sense.  The idea is that you select some text and then hit escape.  Where do you want the cursor to go? 

Selected text with the selection anchor and cursor circled

If you want it to stay where it is, that’s the default behavior.  But if you want it to jump to the beginning of the selection (i.e. the selection anchor), you need to go to Tools – Options – Text Editor – General and check the Go to selection anchor after escape.

Go To Selection Anchor After Escape Tools Option

Technorati tags: VS2005Tip, VS2008Tip