Duplicate selection or line
Duplicte functionality like you are used to.
Adds duplicate text functionality to
vscode similar to that in Sublime Text or Resharper.
- When nothing is selected, the whole line is duplicated and caret is placed on the lower line
- When text is selected, the selection is duplicated and the new copy is selected
- Works with multiple selections
This extension provides bindings for
ctrl+d (Windows/Linux) and
cmd+d (MacOS). To customize keyboard shortcuts
Preferences -> Keyboard Shortcuts:
NOTE: if the key binding isn't working, it may be because something is alread bound to that key combination. Search for other bindings and delete them.
Added icon image