ReSharper Help

Templates Explorer

ReSharper | Templates Explorer

The Templates Explorer window lists all Code Templates and provides necessary controls for creating, editing and managing code templates.

The window has three tabs to manage three types of ReSharper templates:

Live templates

This tab is used to manage live templates. It lets you browse available templates for different languages. On the, left there are Template Scopes and user categories; on the right, a list of templates filtered by the selected scope and category is displayed.

Reference__Templates_Explorer__Live_Templates
There is also a preview area at the bottom, which displays contents of the selected template, and a toolbar with a set of buttons to manage the templates.

Surround templates

This tab is used to manage surround templates. It lets you browse available templates for different languages. On the, left there are Template Scopes and user categories; on the right, a list of templates filtered by the selected scope and category is displayed. The templates on the right are divided into two groups: In quicklist and Not in quicklist. For more information on the quicklist, see Editing Quick Access List.

Reference__Templates_Explorer__Surround_Templates
There is also a preview area at the bottom, which displays contents of the selected template, and a toolbar with a set of buttons to manage the templates.

File templates

This tab is used to manage file templates. It lets you browse available templates for different languages. On the, left there are Template Scopes and user categories; on the right, a list of templates filtered by the selected scope and category is displayed. The templates on the right are divided into two groups: In quicklist and Not in quicklist. For more information on the quicklist, see Editing Quick Access List.

Reference__Templates_Explorer__File_Templates
There is also a preview area at the bottom, which displays contents of the selected template, and a toolbar with a set of buttons to manage the templates.

Toolbar controls

ControlNameDescription
Layer Specifies the settings layer to display only templates saved in this layer and to create new templates in this layer. For more information on settings layers, see Managing and Sharing ReSharper Settings.
toolbar__filter_usages Filter Templates Allows displaying predefined templates when a user layer is selected. By default, predefined templates are shown only when the Smart option is selected in the Layer selector.
Toolbar__Settings Manage layers Opens the Settings Layers dialog box to manage settings layers.
iconCreateTemplate New Template Opens the Template Editor to create a new template.
iconCreateCategory New Category Puts a selected template into a new category (a single template can be assigned to multiple categories). For more information, see Organizing Templates.
iconEditTemplate Edit Template Opens the Template Editor for editing the selected template.
toolbar__remove Delete Deletes a selected template or category.
toolbar__import Import Imports templates from an XML file. For more information, see Importing and Exporting Templates.
toolbar__export Export Exports templates to an XML file. For more information, see Importing and Exporting Templates.

See Also

Last modified: 27 August 2015