When writing code in Visual Studio 2012, a frequently used shortcut key is Shift+delete (deletes an entire row).
Just from the previous post (Visual Studio 2012 annoying default setting: Ctrl-c will copy empty rows to empty the Clipboard), you know that this shortcut will be cut:
The mentality is better:
Not only will ctrl-c occupy the Clipboard, Ctrl-x will also use the entire row deletion (shift delete) that is used for the connection to occupy the Clipboard
I can't figure it out, press SHIFT to delete the entire line, and put the contents of this line on the Clipboard.
So how do you solve the problem?
Through the experiment, we find out the solution method. Action steps are as follows:
1. Enter Tools > Options > Environment > Keyboard
2. In Show commands containing, enter Edit.cut, locate the Edit.cut command, and then select the Shift+del shortcut key, then Remove, as shown below:
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/net/
It's strange, and it's not using this shortcut (the default is Ctrl+x), but if you don't remove the Shift+del, then the operation won't work.
3. In Show commands containing enter Edit.linedelete, find Edit.linedelete command, and assign Shift+delete shortcut keys, as shown below:
It's weird here, actually. The shortcut key to delete the entire row is ctrl+shift+l, but the test found that the shortcut did not work at all.
After this operation, the problem is resolved.