This would be quite convenient if we could duplicate a line with a single shortcut, since it is quite a common practice when coding to reuse a previous line. This quite simple proposal may help to bring some productivity.
Overview of the workflow
When the cursor is on a line, the current line, we could imagine to be able to duplicate the current line by pressing a shortcut. In Notepad++ it is CTRL+D. It seems this key combination is still available in VS Code so we could use it as a shortcut to duplicate lines.
Also, it could be convenient to have this command in the Edition menu, maybe between the copy/paste related commands and the search/replace commands.
This would be quite convenient if we could duplicate a line with a single shortcut, since it is quite a common practice when coding to reuse a previous line. This quite simple proposal may help to bring some productivity.
Overview of the workflow
When the cursor is on a line, the current line, we could imagine to be able to duplicate the current line by pressing a shortcut. In Notepad++ it is CTRL+D. It seems this key combination is still available in VS Code so we could use it as a shortcut to duplicate lines.
Also, it could be convenient to have this command in the Edition menu, maybe between the copy/paste related commands and the search/replace commands.