Are you like me, always fat fingering the 'Ctrl+C' when I'm trying to hit 'Ctrl+V' only to overwrite what I had in the clipboard with whatever line the cursor is on? Are you annoyed by the line copy / cut feature of Visual Studio? This simple extension bypasses that feature.
It won't completely eliminate the problem - if you have text selected you are going to replace, and still hit 'Ctrl+C' by mistake, it will copy the selected text into the clipboard. At least it won't copy the entire line into the clipboard anymore for simply having the cursor on the line when you go to paste.
No more accidental Ctrl+C replacing your clipboard content when hitting Ctrl+V (as long as you have no text selected).
This extension checks to see if the Active Window is a Document Window, and if the document text selection is empty or not. If it is empty, then the copy command is aborted.
If the active window is not a document window, or the text selection is not empty, the traditional Edit.Copy command is called. This allows, such things as copying a file in the Solution Explorer, or copying a control in the WinForms designer to continue to work with the 'Ctrl+C' binding.
Basically the entire purpose of this extension is to bypass the single line copy / cut feature Visual Studio added, but didn't allow the end user to disable.
Changes from 1.2 to 1.3: