Thursday, April 30th, 2009
at 11:36am
Trusted By

Welcome Back! I hope you enjoy the content on this site. If you have not done so already, you may want to subscribe to my RSS feed or become a fan of this blog on Facebook. Thanks for visiting!
Visual Studio is a very powerful IDE and I have yet to find another IDE that comes close to all the features it offers. Yet they are some hidden gems that can make our every day tasks a little bit easier.
- Under “HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Text Editor” Create a String called “Guides” with the value “RGB(255,0,0), 80″ to have a red line at column 80 in the text editor.
- Pressing ALT during selection, selects a square of text instead of whole lines.
- Ctrl++ [Control, Plus] or Ctrl+- [Control, Minus] to navigate to previous position of the cursor and back
- Ctrl+Shift+V to cycle through the Clipboard history. Visual Studio keeps a history of data in the clipboard
- Ctrl+U and Ctrl+Shift+U to uppercase or lower case selected text.
- Ctrl+L Deletes the current line.
- Shift+F9 to bring the variable in QuickWatch
Hope this Helps.
Hatim
Monday, April 27th, 2009
at 6:33pm
Sometimes ago I compiled this list for myself and our team to help get things done faster and deal with visual studio quirks.
Remember if you mess things up you can always reset your Visual Studio Settings (Tools->Import and Export Settings->Reset All Settings)
Visual Studio Optimization Tips:
- Disable F1. (Tools->Options->Environment->Keyboard) (I always end up hitting it by mistake when reaching for the escape key)
- Disable "Animate environment tools" (Tools->Options->Environment->General)
- Disable Start Page (Tools->Options->Environment->Startup)
- Disable "Track Active Item in Solution Explorer" (Projects and Solutions).
- Disable Navigation Bar (Tools->Options->Text Editor->C#)
- Set "AutoToolboxPopulate" to false (Tools->Options->Windows Forms Designer).
- Turn off Track Changes. (Tools->Options->Text Editor->Track changes)
- Bind Ctrl+Shift+k to Edit.LineDelete
- Bind Shift+Enter to Edit.LineOpenBelow
- Bind CTRL+SHIFT+ALT+Z to Attach To Process
- (Ctrl+K, Ctrl+D) to reformat the code when things get messy
If you have some tips on your own please share in the comments!
Hope this helps!
Hatim