You can export one ore more code templates to a separate file and distribute or share it with other developers. Accordingly, you can import templates created and shared by other developers. To be imported correctly, a template file must have been created with ReSharper.
- On the main menu, choose ReSharper | Templates Explorer or press Alt+R+P.
- In the Templates Explorer window that appears, click one of three tabs depending on what type of template you want to export: Live Templates, Surround Templates, or File Templates.
- If you need to export templates from a particular settings layer, choose this layer in the Layer drop-down list. For more information on settings layers, see Managing and Sharing Options.
- Choose the desired scope and, optionally, a category to find the templates that you want to export.
- Select one or more templates to be exported.
-
Click Export
on the toolbar.
- In the Save As dialog that appears, specify file name and location, and then click Save.
- On the main menu, choose ReSharper | Templates Explorer or press Alt+R+P.
- Click one of three tabs depending on what template you want to import: Live Templates, Surround Templates, or File Templates.
- If you need to import templates to a particular settings layer, choose this layer in the Layer drop-down list.
-
Click Import
on the toolbar.
- In the Open Templates File dialog that appears, specify a *.DotSettings file with templates. Note that template types saved in this file should correspond to the currently opened tab.
- Click Open.
Tip
As an alternative to importing and exporting templates, you can use the ReSharper's settings layers to share your code templates. For more information, see Sharing Templates

