Using keyboard shortcuts is the best way to get things done faster in Visual Studio. Below are my favorite Visual Studio keyboard shortcuts.
- F12 : Go to definition of a variable, object, or function.
- SHIFT+F12 : Find all references of a function or variable.
- CTRL+ALT+L : View Solution Explorer. I use Auto Hide for all of my tool windows to maximize screen real estate. Whenever I need to open the Solution Explorer, it’s just a shortcut away.
- CTRL+M, O: Collapse to Definitions. This is usually the first thing I do when opening up a new class.
- CTRL+-: Go back to the previous location in the navigation history.
- ALT+B, B: Build Solution.
- ALT+B, U : Build selected Project
- ALT+B, R : Rebuild Solution
- CTRL+ALT+Down Arrow : Show dropdown of currently open files. Type the first few letters of the file you want to select.
- CTRL+K, CTRL+D : Format code.
- CTRL+L : Delete entire line.
Use the technology!!!