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

后端 未结 10 1400
刺人心
刺人心 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:18

    I mapped Ctrl + L (Global) to Edit.LineDelete. Otherwise, the shortcut key is Ctrl + Shift + L, which is awkward. Go to Tools > Options > Environment > Keyboard as shown below.

    Tools | Options | Keyboard

提交回复
热议问题