ReSharper Web Help

Personal configuration options are available for a user across all solutions on the user machine. These options are stored in the user settings file. (In Windows, that would be <User home>/Application Data/JetBrains/ReSharper/v4.0/vs9.0/UserSettings.xml for ReSharper 4.0 installed over Visual Studio 2008.)

Personal configuration options include (but are not limited to):

  • Code formatting settings.
  • To-do patterns and filters.
  • Code cleanup settings (including custom profiles).
  • Namespace import settings.
  • ReSharper templates, including user-defined templates.
  • Code completion settings.

You can also customize options for a specific solution to share them within a team of developers. Such settings are stored in this solution's directory as a file, <Solution name>.<ReSharper version>.resharper.

 Tip

Put this file under version control to make it available for all team members. This approach spreads unified coding standards through the whole development team.

In particular, sharable solution options include:

  • Code formatting settings.
  • Namespace import settings.
  • Templates created as shared solution templates.
To enable code style sharing
  1. On the main menu, choose ReSharper | Options.
  2. In the Options dialog box, open the Languages | Common | Code Style Sharing tab.

     Tip

    See Code Style Sharing for detailed reference on controls in the Code Style Sharing tab.
  3. Select Shared across the team, per solution.
  4. Click OK to save your current settings as a .resharper file in the root directory of your solution. Any subsequent settings configured for this particular solution will be maintained using this file.

See Sharing Templates for additional guidelines on creating shared templates.

See Also

Procedures

Reference