You can manage 'Surround With' Templates in the following ways:
Management of 'Surround With' Templates is performed via the Options - 'Surround With' Templates dialog. To open it, select ReSharper | Options from the main menu and in the left pane click 'Surround With' Templates .

The structured view presents all available 'Surround With' Templates with their abbreviations and brief descriptions. Available templates and folders containing them are organized in four sections explained below:
You can put your favorite templates on the Quick access list. Templates in this list will be available for quick use from the code editor (via the Ctrl+Alt+J keyboard shortcut). For details on working with Quick Access List, see Organizing 'Surround With' Templates.
When a template is selected in Available Templates, its definition (template code) appears in this text field. To modify the code of a template, double-click the template in Available Templates or use the toolbar (see below).
The toolbar is located above Available Templates . It lets you create, edit, move, delete, export and import templates and share them with members of your development team. The following table explains the purpose of each button:
|
Button |
Name |
Description |
|---|---|---|
|
|
Create Template |
Creates a new template. See Organizing 'Surround With' Templates. |
|
|
Create Folder |
Creates a new template folder. See Organizing 'Surround With' Templates. |
|
|
Copy Template or Folder |
Creates a copy of the currently selected template or folder in the specified location. See Organizing 'Surround With' Templates. |
|
|
Delete |
Deletes the selected template or folder (confirmation is requested). See Organizing 'Surround With' Templates. |
|
|
Edit Template |
Opens the Edit Template dialog for editing the selected template. Please refer to Editing Templates for details. |
|
|
Move Template or Folder |
Moves the selected template or folder. See Organizing 'Surround With' Templates. |
|
|
Import Templates from File |
Imports template(s) from an XML file containing 'Surround With' Templates. See Importing and Exporting 'Surround With' Templates. |
|
|
Export Templates from File |
Exports template(s) to an XML file. See Importing and Exporting 'Surround With' Templates. |
|
|
Mount File Storage | Mounts file storage from a file that contains 'Surround With' Templates designed for common use among a group of developers. See Sharing 'Surround With' Templates . |

OR
Note Templates with identical names will conflict with each other. If you've copied a template, modify its name and/or template code to avoid ambiguity and possible errors.
To delete a template or folder:
Note Predefined templates and the four main folders cannot be deleted.
Tip It is recommended that you don't modify predefined templates since any changes may be lost if you later re-install ReSharper. Instead, make a copy of the template and edit it.
OR
Note Predefined templates and the four main folders cannot be moved (but predefined templates can be copied).
You can add templates to the Quick access list, remove templates from the list and rearrange their order within the list. Use the buttons described below:
|
Button |
Description |
|---|---|
|
|
Adds a template to the list.
|
|
|
Moves the selected template one position higher in the list.
|
|
|
Moves the selected template one position lower in the list.
|
|
|
Deletes the selected template from the list.
|
'Surround With' Templates can be exported to an XML file. This allows you to save your customized templates so that you can distribute them, share with other developers, temporarily save them between re-installations of ReSharper, and so on. Once exported (by you or someone else), 'Surround With' Templates can be imported.

'Surround With' Templates can be shared in two ways.
You and other members of your development team can use this folder to store shared templates designed for use with any particular solution. Templates placed in the folder will be accessible to anyone who opens the current solution. Compare with Personal Solution Templates folder: templates it contains are available for your personal use with a particular solution, but not to others.
'Surround With' Templates can be shared among a group of developers via Mounted File Storage. First, all members of a development team mount file storage. The file contains templates designed for common use by a group of developers. It is stored on a shared network location accessible to each developer. Templates contained in the mounted file are updated from and to the file with every opening and closing of the solution. Any changes made to the file are automatically made available to all other developers.
Using 'Surround With' Templates | Predefined 'Surround With' Templates | Editing Code Templates