In Notepad++, view Settings > Shortcut Mapper > Scintilla commands
. The command SCI_LINECOPY
, currently assigned to Ctrl + Shift + X, copies the current line to the clipboard for pasting elsewhere. Very nice!
Does Visual Studio 2019 have something similar under Tools > Options > Environment > Keyboard
? The Edit.Duplicate
command, which copies the current line into the editor though not to the clipboard, is excellent but only superficially similar to SCI_LINECOPY
.
For me, without any additional adjustment, this is a normal process as shown in the pictures below.
When the cursor is in the line (1), I can copy it to the clipboard without selecting the text first using Strg+C.
Followed of course by Strg+V (2) or optional by step (3).