One extremely convenient keyboard shortcut I use all the time in VSCode is an alternate of one you list above. Instead of moving a line up or down using alt+up/down, you can add the shift key to that button combination to actually duplicate the line.
Even better, if you're working with a React component that you'd like to duplicate quickly (like I do 😄), you can highlight the entire component and press alt+shift+down to paste a duplicate immediately below the selection!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nicely Done!
One extremely convenient keyboard shortcut I use all the time in VSCode is an alternate of one you list above. Instead of moving a line up or down using
alt+up/down, you can add theshiftkey to that button combination to actually duplicate the line.Even better, if you're working with a
Reactcomponent that you'd like to duplicate quickly (like I do 😄), you can highlight the entire component and pressalt+shift+downto paste a duplicate immediately below the selection!