Is there a way to delete a line in Visual Studio without cutting it?

后端 未结 10 1508
刺人心
刺人心 2021-01-30 05:55

I want to delete a line just like hitting Ctrl + X without anything selected, but without saving the line to the copy stack. Is this possible?

I\'

10条回答
  •  我在风中等你
    2021-01-30 06:33

    Edit.LineDelete is the name of the command. By default it's bound to Ctrl + Shift + L, but you can give it whatever you like in Tools | Options | Keyboard.

    Edit: Corrected default shortcut info.

提交回复
热议问题