Visual Studio – Shortcut key to Duplicate a Line

To duplicate the current line of code in Visual Studio, you simply use the following shortcut key:

Ctrl + C + V

Yeah, that’s it. It is really simple, right? You do not need to install any more 3rd party duplicate extensions in your Visual Studio, such as Duplicate Selection.

We have tested the above shortcut key in Visual Studio 2017, 2015, 2013, and 2012 and it works as expected.

guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Michel
Michel
4 years ago

Tnx for the tip!

1
0
Would love your thoughts, please comment.x
()
x