Can I share code style settings outside of the solution, but in source control?

I want to share the code style settings with all developers, across all solutions, and have it in source control (and have ReSharper checkout the file when options are changed). I have investigated all three sharing options and find each of them missing one or more of my requirements. Is there a way to get what I want? Or will I have to compromise and deal with some friction in the process?

Not shared, applies to all solutions opened by the current user
Pro

  • All solutions
Con
  • Not shared
  • Not in source control



Shared across the team, per solution
Pro

  • Shared
  • In source control
  • Check-out on edit
Con
  • Not all solutions (cannot be linked or pointed to a file outside the solution root)



Not shared, per solution, stored in a file
Pro

  • All solutions (can select the file location)
  • Shared (on network drive?)

Con

  • Not in source control
1 comment
Comment actions Permalink

Hello,

I have investigated all
three sharing options and find each of them missing one or more of my
requirements. Is there a way to get what I want?


Unfortunately, not yet. ReSharper features for sharing the settings haven't
been updated for ages, and are currently very limiting in what they afford.

  • Not all the required scenarios are supported (yours, for instance -- which

is quite a reasonable scenario).

  • Only a subset of the settings can be shared (mainly code formatting & naming

styles).

  • Source control unfriendly -- even though ReSharper can checkout on edit,

it still cannot reload the externally changed (by get-latest) file when it's
running, and probably will overwrite it with loaded settings when saving/exiting.

These issues are important, and I hope we'll manage to fix them by the next
release.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.