Duplicate Selection

Free

Adds a command to Visual Studio to duplicate the current selection. By default, this is bound to Alt+D.

(7) Review
Visual Studio
2013, 2012, 2010
Download (3,272)
9/20/2013
1.3
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (7)
Q and A (1)
Sign in to write a review
Sort by:

by Borek Bernard | May 22 2014

Much needed function for Visual Studio (almost any other IDE / editor has this and it's very useful), however, it doesn't work that well for text files with longer lines and word wrapping enabled. For instance, when I "almost" select a multi-line HTML paragraph (for instance, start in the middle of the first line and end in the middle of the last line), this extension thinks that the selection is within a single line and will do the "duplicate withing the line" function. This is technically correct (soft-wrapped lines are still technically a single line) but intuitively incorrect and makes the functionality a bit problematic for word-wrapped editors.

by LitRes LTD | October 17 2013

Can you add vs 2012 for windows 8 support? Thx

ctlajoie October 18 2013
| Edit |
Delete

It already supports VS2012.

by Aluan Haddad | September 26 2013

Works exactly as described. Simple, effective, and to the point.

by Miroxlav | September 23 2013

very good but Ctrl+D should be the default shortcut. Besides other applications where Ctrl+D makes duplicates, it also does the same in all MS Office applications (when object is selected - shape, slide image, ...) so why break well-known standards?

ctlajoie September 24 2013
| Edit |
Delete

Believe me, I wanted very much to set Ctrl+D as the default binding. I use my extension daily and that is what I bind it to as well.
However Ctrl+D is already bound to something else by default, and setting this extension's default binding to Ctrl+D would cause both of the assigned actions to be invoked. And AFAIK there is no way for me to remove the other binding.

by Jolebas | July 11 2013

Assigned it to ctrl+d so it works like re-sharper.
Love it. Thanks!

by Anton Hesselbom | January 27 2012

Every time I've had to do something with Visual Studio I always get equally surprised when I press Ctrl-D and remember that it doesn't exist in VS.

It doesn't do much, but it does exactly what it says it does, and does it perfectly.

by KOLANICH | June 06 2011

Very good
but it will be better to change a hotkey to ctrl+D because it is assidned with this command in notepad++

Sign in to start a discussion


  • Changing key binding doesn't work
    2 Posts | Last post November 29, 2012
    • When I change the key binding to Ctrl+Shift+Down Arrow I get an Object Reference error when I use the shortcut.
    • I'm not able to duplicate the error. Can you give me more information? Like what version of VS you are using, and does it happen only under certain circumstances, or all the time?