Duplicate Line

The Duplicate Line options page enables you to specify Duplicate Line options.


Duplications are listed on the left part of the options page. The Add and Delete buttons enable you to add and delete list items appropriately. Use the fields shown to the right of the list to specify the selected duplication options. These options are:

Option Description
Name The duplication name.
Match With The code line structure for which the template is available.
New Line The generated line structure.
Strip white space before match If the option is checked, the whitespace before the initial line is ignored.
Strip comments before match If the option is checked, the comment before the initial line is ignored.
Treat single spaces as optional white space Specifies whether single white spaces in the Match With option are treated as optional white spaces. To preserve the original white space, check the appropriate option.
Use The contexts in which the duplication is available.
Comment Comment to the duplication.


This product is designed for outdated versions of Visual Studio. Although Visual Studio 2015 is supported, consider using the CodeRush extension with Visual Studio 2015 or higher.