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:
- Optimize Visual Studio for multiple monitors
- Show shortcut keys in toolbar tooltips
- Using the clipboard ring
- Cut single line/Delete single line
- Collapse and Expand code