Questions on upgrading from R# 6.0 to 7.1

My team is upgrading from ReSharper 6.0.2202.688 to 7.1.2000.1478.

As of R# 6.0, our method of syncing settings across the team was:

  • A UserSettings.xml file was managed in the svn repo.
  • Upon infrequent updates to the above file, each team member would run a script (also managed by svn) that:
    • Copied the managed UserSettings.xml file into each user's:
      • %APPDATA%\Roaming\JetBrains\ReSharper\v6.0\*\
      • Where "*" is every subfolder/version of Visual Studio


I know as of R# 6.1, the unified storage mechanism was implemented. I believe the settings I want to manage are the "This Computer" settings, because we want them to apply to all solutions on each developer's computer.  However, I have a couple questions:

  1. Saving settings via the Visual Studio GUI to "This Computer" modified the file located here: %APPDATA%\Roaming\JetBrains\ReSharper\vAny\GlobalSettingsStorage.DotSettings. Is this the file I should overwrite with our script now (instead of the multiple copies of UserSettings.xml in the VS subfolders)?
  2. If the answer to the above question is yes....What goes in the VS  subfolders now (whether it's me or R# that puts things there, I'm just curious)?  I noticed that R# automatically created the empty Visual Studio subfolders  under: %APPDATA%\Roaming\JetBrains\ReSharper\v7.1.
  3. What is the best way to "convert" our UserSettings.xml to GlobalSettingsStorage.DotSettings? Surely I don't have to go line-by-line through the UserSettings.xml and set each option through the GUI to create the new GlobalSettingsStorage.DotSettings file.


Thanks!

1 comment
Comment actions Permalink

Hi Tara,

Answering your questions:
1. Now you don't need to save multiple copies of the .dotsettings file or use any scripts - you may just put the desired settings file, for example, on a network shared drive and make sure that other developers in the team will import it using the 'Manage Options' dialog.
2. ReSharper do save some files/caches/configs in solution folder and VS subfolders by default. However, in terms of file sharing, you can leave these files as is - there's no need to manually do any kinds of operations (like, copy different files in VS folders)
3. You may import old Code Style Settings via 'ReSharper | Options | Code Editing → Code Style Sharing'. If you had any non-code-style settings saved up, they cannot be imported and need to be configured. The good news is that you'll have to do that only single time - after that you may share the dotSettings file and every other developer will have the same setup.

You're welcome to read the following blogposts on ReSharper settungs mechanism here: http://blogs.jetbrains.com/dotnet/tag/resharper-settings/
The series of these blogposts is answering almost all the questions.

Hope this helps.
Thanks!

0

Please sign in to leave a comment.