Visual-studio – way to delete a line in Visual Studio without cutting it

keyboard shortcutsvisual studiovisual studio 2010

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'm using Visual Studio 2010.

Best Answer

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.