So everyday you possibly write hundreds, maybe thousands, of lines of code. Some of them are perfect, and will continue on to have a long productive life. Others however will be found wanting.
It it for these inadequate lines of code that the delete line keyboard shortcut was designed to deal with. And deal with it does. Instead of having to select a line, or multiple lines, you can simple use the delete line shortcut and wipe away the current line, or the currently selected lines.
Delete Line
Ctrl + L
Note: The image above will take you to a full size image if you want to see this in more detail.
Feedback:
If you have a favorite Visual Studio Tip or Trick be sure to share it in the comments. I’ll compile a list and post it for everyone once there are enough.
PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)