Can someone tell me how to duplicate the line I am on as most of the people do in visual studio code and list for me some shortcuts or where I can see them?/.
Asked
Active
Viewed 68 times
1
-
What OS are you using? – Pedro Maia Oct 30 '21 at 08:06
-
By default, if you copy without having anything selected, it will copy the entire line including its linebreak, so if you directly paste on the same line it will duplicate it. – Possseidon Oct 30 '21 at 08:10
-
1Does this answer your question? [How do I duplicate a line or selection within Visual Studio Code?](https://stackoverflow.com/questions/30203752/how-do-i-duplicate-a-line-or-selection-within-visual-studio-code) – Pedro Maia Oct 30 '21 at 08:10
-
Is your question about `visual studio` or `visual studio code`? The title and the tag says `visual studio` the question says `visual studio code`. – t.niese Oct 30 '21 at 09:03