4

This was very tricky to Google ,however, a very simple question in mind. Instead of wasting lots of time filtering the Google search results I prefer to ask my Stack fellow developers.

Scenario

  1. Program is running
  2. I terminate it using Shift + F5
  3. I want to continue making change to the code BUT the focus is on some random Find Usage pane (from resharper) instead of the code itself.

I simply don't want to keep pressing the Tab key until I'm lucky.

Any shortcut available?

Thanks

Mehrad
  • 4,093
  • 4
  • 43
  • 61

2 Answers2

4

I think Esc consistently does the trick.

You might try/use/want to know about Shift-Esc too, which just closes that random "find" pane.


Disclaimer Based on my VS2010 setup involving R#, VisVim and generally C# coding.

sehe
  • 374,641
  • 47
  • 450
  • 633
  • 1
    **Esc** works indeed. I should've followed my muscle memory instinct. Also love the **Shift+Esc** combo. Never knew about this one. Thanks again. – Mehrad Sep 20 '13 at 00:26
0

You can place your cursor to the place you were before with CTRL + - and SHIFT + CTRL + - for the opposite effect.

Hope to be helpful :)

anguila
  • 148
  • 1
  • 11
  • Very interesting shortcut :)) Seems I am getting really rusty with shortcuts. Not exactly the answer for this particular question or I would voted it up as an **answer** Also as a little trick. You can put your Keyboard-Shortcuts inside this tag SHift to show them in a more sophisticated way as you can see in my post or the @sehe's answer. Your post won't let me edit it or I would do it for you. – Mehrad Sep 20 '13 at 00:32