Adds a command to Visual Studio to duplicate the current selection. By default, this is bound to Alt+D.
Q and A (1)
Sign in to write a review
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.
Works exactly as described. Simple, effective, and to the point.
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 |
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.
Assigned it to ctrl+d so it works like re-sharper.
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.
Sign in to start a discussion