>
 





I frequently type Ctrl+C instead of Ctrl+V on a blank line and loose the data on the clipboard by copying a blank line.

Today, I discovered a VS option to disable cut and copy commands on blank lines when there is no selection.

You may find the option in Tools - Options - Text Editor - All Languages - General. Uncheck Apply Cut or Copy commands to blank lines when there is no selection.

Apply Cut or Copy commands to blank lines when there is no selection
To disable Cut or Copy commands to blank lines uncheck "Apply Cut or Copy commands to blank lines when there is no selection" checkbox.



UPDATE I forgot to mention that the tip applies both to Visual Studio 2005 and Visual Studio 2008.

Want automatic updates? Subscribe to our RSS feed or
Get Email Updates sent directly to your inbox!

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Comments

February 26. 2009 20:47

Alternatively, you can always use Ctrl+Shift+V (V,V,V,...) to go back in your clipboard history.

Gino | Reply

November 4. 2009 09:12

Social comments and analytics for this post

This post was mentioned on Twitter by bloggingdev: Visual Studio Tip: Stop Loosing the Clipboard Data Accidentally - http://su.pr/1R9f7q

uberVU - social comments | Reply

November 5. 2009 01:20

Pingback from topsy.com

Twitter Trackbacks for
        
        Visual Studio Tip: Stop Loosing the Clipboard Data Accidentally
        [bloggingdeveloper.com]
        on Topsy.com

topsy.com | Reply

Add comment




(Will not be displayed!)