Keyboard Shortcut Tricks in Visual Studio 2010
Jan.16, 2010 in
.Net, Programming
Insert a blank line above or below the current line:
Go to any line in the Editor and press CTRL + Enter to insert a line above or CTRL + SHIFT + Enter to insert a line below the current line.- Pasting a single selection into a box selection
ALT + Left Mouse - Zoom in or out of text in the Editor using the mouse wheel
CTRL + Mouse Wheel - Zero-length box selection
Alt + Left Mouse - Assume that you have a a situation with some variables like the ones below and you want to make them all public
- The answer is a zero-length box selection. Hold down your ALT key and Left Mouse Button, then drag straight down
- Release the ALT key and the Left Mouse Button.
- Done~

Leave a Reply