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\'
Ctrl + Shift + L will delete the line and not copy to the clipboard.
CTRL + L (Visual Studio 2019 Windows)
On Visual Studio 2019 for Mac, it's CTRL + K to cut the whole line by default.
Its Cmd + Shift + K on mac by default.
But it can be modified according to user needs from the settings (Preferences -> Keyboard Shortcuts
) -> search for Delete Line
key value.