You can assign any template to one or several categories. Categories are used in the Templates Explorer to make managing templates easier. For example, if you have custom templates for C# object initializers and extension methods, it could be appropriate to assign them to C# 3.0 category.
To assign a template to a category
- On the main menu, choose ReSharper | Templates Explorer.
- Click one of three tabs depending on what template you want to modify.
- Optionally, choose a layer by clicking its name in the Layer drop-down list.
- Click the desired scope, then find and click a template.
- Click New Category
on the toolbar.
- When the Create Category dialog box opens, specify a name for a new category and click OK.
To delete a template
- On the main menu, choose ReSharper | Templates Explorer.
- Click one of three tabs corresponding to the required type of template: Live Templates, Surround Templates, or File Templates.
- Optionally, choose the layer by clicking its name in the Layer drop-down list.
- Click a template to be removed.
- Click Delete
on the toolbar.
