Visual Studio 2013 Avoid Copying Blank Lines – Yes, it is something that happens to me often. I don’t know why I do it so easily. I guess it is because I use the keyboard shortcuts to copy and paste (Ctrl+C and Ctrl+V).
When I want to cut, I type Ctrl+X and then because my finger is moved one key to the left, I type Ctrl+C instead of Ctrl+V. It has been the bane of my Visual Studio experience since Visual Studio 2003 and has infuriated me endlessly (even if that fury is only vented at my own stupidity). But this little pet peeve of mine is particularly troublesome when I am already frustrated with difficult code.
With Visual Studio 2013 we see an option available to avoid this silly mistake (and save some of my sanity). (more…)