You can share templates using two alternative techniques:
- Shared Solution Templates. You and other members of your development team can use this Templates Explorer folder to store shared templates designed for use with any particular solution. Templates in this folder will be accessible to anyone who opens the current solution.
- Mounted File Storage. Live templates can be shared among a group of developers using Mounted File Storage. First, all members of a development team mount file storage that contains templates intended for common use and resides on a shared network location accessible to each developer. Templates contained in the mounted file are updated from and to the file every time a solution is opened or closed. Any changes made to the file are automatically made available to all team members.
WarningAny templates that you share should have been created with ReSharper.
To define shared templates
- On the main menu, choose ReSharper | Live Templates | <template type>.
- If necessary, scroll down the selected Templates Explorer tab to locate the Shared Solution Templates folder.
Create new templatesin the Shared Solution Templates folder.