Replacing text with a box selection

Keyboard:  ALT + MouseVersions:  2010Published:  1/11/2010Code:  vstipEdit0006    You have been able to select a block of text for some time in Visual Studio by holding down the ALT key and making a selection.  With 2010 there is a new wrinkle however:  you can now do multi-line replacements of a box selection.  Simply select a…

0

You can insert a blank line above or below the current line

Keyboard:  CTRL + Enter (line above), CTRL + SHIFT + Enter (line below) Command:  Edit.LineOpenAbove; Edit.LineOpenBelowVersions:  2008,2010Published:  1/10/2010Code:  vstipEdit0005   This is a great feature for adding extra white space when you need it.  Try it out yourself.  Go to any line in the Editor and press CTRL + Enter to insert a line above…

5

How to keep from accidentally copying a blank line

Menu:  Tools -> Options -> Text Editor -> All Languages -> General Versions:  2008,2010Published:  1/9/2010Code:  vstipEdit0004     Ever cut something then accidentally cut a blank line?  I can’t really think of a good reason to cur or copy a blank line and yet you are still allowed to do it.  The good news is…

5

Zoom in or out of text in the Editor

Keyboard:  CTRL + SHIFT + >; CTRL + SHIFT + <Command:  View.ZoomInVersions:  2010Published:  1/8/2010Code:  vstipEdit0003   You can change the zoom factor for text using the Zoom combo box in the lower left-hand corner of the Editor.  Simply choose a pre-determined size or type in a value of your own.

0

Zoom in or out of text in the Editor using the mouse wheel

Keyboard:  CTRL + Mouse WheelCommand:  View.ZoomInVersions:  2010Published:  1/7/2010Code:  vstipEdit0002   There is a great new feature in the editor that allows you to instantly change the zoom factor of text.  Just hold down your CTRL key and use the wheel on your mouse to zoom in or out. 

8

Pin a project to the Recent Projects list on the Start Page

Versions:  2010Published:  1/6/2010Code:  vstipTool0003   Tired of your projects getting pushed out of the Recent Projects list on the Start Page?  Well we have a feature for you!  You can now pin projects to the Recent Projects list so they don’t leave but, instead, hang around until you unpin them.

0

Make that pesky Start Page go away

Menu:  View -> Start Page Command:  View.StartPageVersions:  2010Published:  1/5/2010Code:  vstipTool0002   Does the Start Page make you angry?  Well, count to ten and take advantage of this neat little tip.  To make it so that pesky Start Page doesn’t come around when you start Visual Studio anymore just look in the lower left-hand corner and…

0

Bringing back the Start Page

Menu:  View -> Start Page Command:  View.StartPageVersions:  2010Published:  1/4/2010Code:  vstipTool0001    You may have noticed that when you open up a Solution / Project the Start Page goes away.  This is the new default behavior in Visual Studio 2010.  To change it just look in the lower left-hand corner of the new and improved Start…

0

Customize how Find in Files results are displayed in the Find Results Window

Keyboard:  CTRL + SHIFT + F Menu:  Edit -> Find and Replace -> Find in FilesCommand:  Edit.FindinFilesVersions:  2008,2010Published: 1/3/2010Code:  vstipFind0002        You can customize your Find in Files results to show what you want to see and how you want to see it. Example:  You don’t want to view the entire file path shown…

19

How to cycle through the Clipboard Ring to paste different things

Keyboard:  CTRL + SHIFT + V; CTRL + SHIFT + INSERTMenu:  Edit -> Cycle Clipboard RingCommand:  Edit.CycleClipboardRingVersions:  2008,2010Published:  1/2/2010Code:  vstipEdit0001     The Clipboard Ring keeps track of the past 20 items you’ve either cut or copied so you can reuse them over and over again!  After you hit item 20, it’ll go back to…

11