How to disable the cut operation of the Shift+delete shortcut key in Visual Studio 2012

Source: Internet
Author: User
Tags visual studio

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.