To quickly duplicate a code line or selection
- Position the caret at any line, or select a block of source code:
- On the main menu, choose ReSharper | Edit | Duplicate Text, or, alternatively, press Ctrl+D. A code duplicate will be inserted right after the original code:
