0

Recently I have switched from VS Code to VS Codespace.

I really miss the duplicate line functionality.

In VS Code you can do this with ctrl+shift+d.
But I could not find a corresponding shortcut in VS Codespace.

Does anyone know what is the shortcut for duplicate line in VS Codespace?

Peter Csala
  • 17,736
  • 16
  • 35
  • 75
Aykut Parlak
  • 103
  • 1
  • 2

1 Answers1

0

You can set custom hotkeys in the hamburger menu in the top left corner --> Files --> Preferences --> Keyboard Shortcuts --> here type in "Duplicate Selection" --> double click on the result, and press the shortkey you would like to use to duplicate rows.

fbede
  • 843
  • 9
  • 12