ReSharper Web Help

ReSharper | Live Templates | Live Templates

This tab in the Templates Explorer is used to manage live templates. It contains the list of available templates for different languages, a preview area where samples of selected templates are displayed, and a toolbar with a set of buttons to create and edit templates:
Templates Explorer tool window: Live Templates
The Template Editor code pane that you can launch from the toolbar is described on a separate page .

This page only describes list items and user controls in this tab. See Index of Predefined Templates for a detailed list of predefined live templates.

List of Templates

Item Description

Predefined Templates

This category contains all predefined templates for C#, VB.NET and XML. Names of predefined templates modified by the user are highlighted in blue.

User Templates

This category contains user-defined templates available for your personal use.

Shared Solution Templates

This category contains templates available for use with the current solution to all team members working on the project.

Personal Solution Templates

This category contains user-defined templates available for your personal use within the current solution.

Toolbar

Control Name Description

New Template

Creates a new template.

New Category

Puts a selected template into a new category (a single template can be assigned to multiple categories).

Delete

Deletes a selected template or category.

Edit

Opens the Template Editor code pane for editing a selected template.

Import

Imports templates from an XML file.

Export

Exports templates to an XML file.

Mount file storage

Mounts a file that contains live templates for common use among a group of developers.

Group by

Groups templates by one of four alternative sets of criteria. See Organizing Templates for details.

See Also

Procedures

Reference