DCSIMG
Visual Studio productivity tips - .NET Geek

.NET Geek

"It is upon the Trunk that a gentleman works" - Confucius

Visual Studio productivity tips

For some time I have been subscribing to Sara Ford's blog where she shares useful tips for Visual Studio users.

One of the tips she shared was using Ctrl+K, Ctrl+C (That is a Ctrl+K followed by a Ctrl+C) to comment out the current selection. Ctrl+K, Ctrl+U will do the reverse and remove the comment. Cool I thought, but not very useful to me since CodeRush lets you comment and uncomment using the ' in VB or the / in C#. But then I was in for a surprise. I do a lot of Xml configuration file editing. Adding and removing comments in Xml is slightly more work than in VB or C#. I was happily surprised when I realized that the Ctrl+K, Ctrl+C and Ctrl+K, Ctrl+U works for Xml as well. Anything that minimizes the time I have to deal with angle brackets is worth it.

Here's a list of some other nice tips from Sara's blog:

  1. Optimize Visual Studio for multiple monitors
  2. Show shortcut keys in toolbar tooltips
  3. Using the clipboard ring
  4. Cut single line/Delete single line
  5. Collapse and Expand code

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: