Delete Line without Copy
Hi,
there is the nice shortcut Ctrl-X to Cut whole line.
But very often I need a shortcut to delete a line without copying its content to clipboard, because this would delete my old content in clipboard.
Is there such a shortcut ?
Markus
Please sign in to leave a comment.
Shift+Ctrl+L will delete a line but this is a VS shortcut not ReSharper.
In regard to your clipboard, you know that you can view past contents using the ReSharper -> Edit -> Paste options? Shows you past clipboard contents.
--
Hadi Hariri
Technology Evangelist
JetBrains, Inc
"Develop with pleasure!"
http://www.jetbrains.com | http://hadihariri.com | http://twitter.com/hhariri
Ah... I didn't know the multi paste feature. It's an acceptable workaround. Thank you!
Oh... Shift+Ctrl+L is exactly what I wanted. I did know the Ctrl+L only what has same effect as Ctrl+X.
Thank you!
Markus
In setting > Keymap search for 「delete line」
For me it's Ctrl + Y
-------------Version 2018.1.6
For future me (probably):
The reason CTRL + DEL deletes the line and copies the content is that (by default) CTRL + DEL is assigned the commands CUT, which I find somewhat misleading...
So, when you want to make CTRL + DEL only delete the line, without copying it: