a while back we had 2 great posts and one page about visual studio shortcuts. The first one had a list of 10 Visual Studio Shortcuts and the second one had 11 Visual Studio Shortcuts. We also have a Visual Studio CheatSheet with all the Keyboard shortcuts Visual Studio has.
Here is another list of 5 Shortcuts I have picked up along the way.
- CTRL + SHIFT + 8/7: In case you haven’t knew there is a “Go to Definitions Stack” and every time you click F12 it stores where you went inside that stack. Hitting CTRL + SHIFT + 8 goes “Back” in the stack and CTRL + SHIFT + 7 goes forward.
- F8: I hope all of you are using the CTRL + “-“ to go back to the location you were (after hitting F12 for example). F8 is the opposite to that action it will take you forward. It is the same as CTRL + SHIFT + “-“.
- SHIFT + F12:
Having the marker on top of anything and clicking SHIFT + F12 will
search the entire solution for that object and open up the find symbol
- CTRL + ALT + Down Arrow: This is my favorite. You all know the CTRL + TAB feature of Visual studio:
We have all used it to switch between open files, the problem is that there is no order in the files, although sometime it looks alphabetical it isn’t Clicking CTRL + ALT + Down Arrow is like clicking the little arrow on the upper right corner of the text editor so the result is this:
And the best this is that it is ordered the same as the tabs on top of the text editor.
- CTRL + K + X:
This is also a useful one, Hitting CTRL + K + X will open up the insert
snippet window and allow you to select the snippets you want to use:
That’s all for now, on my next post I will show some CodeRush Express Shortcuts.