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
:
{
"mac": "cmd+d",
"key": "ctrl+d",
"command": "geeebe.duplicateText",
"when": "editorTextFocus"
}
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.
Initial release.
Added icon image
Enjoy!