Sharing Code style settings across a team




Been trying to share a set of coding standards across a team and having a real problem in doing so. I would like to be able to have the settings on a repository and then as it updates the rest of the team gets these updates. So far have tried using the settings repo system in rider but this had no luck, and then have been unable to add a settings layer though a URL to the raw .dotsettings file hosted on a gitlab snippet. The raw text can be used to import from URL so it works for a temporty fix, but would be great if as this config updated the teams settings/layers updated as well (what i thought the settings repo was ment to do)


Have read though and followed the instructions on the documentation but was unable to get anything to update (files synced with mine and a co-workers files but when i changed a setting even though there repo updated the setting was never reflected)


Thanks for any help

Comment actions Permalink

Same problem :(


The built-in settings sync doesn't work and code-style settings are not synced to a git repository.


Also the git sync requires putting in username and password three times on each attempted update which is beyond maddening.


Comment actions Permalink

Hi there!

The Rider uses two different settings engines, directory-based, which was inherited from the IntelliJ Platform, and layer-based - ReSharper settings. The Settings Repository plugin only syncs settings of the directory-based type. And code style settings are a part of a layer-based engine. That is why they are not synced with Settings Repository.
There is another plugin for sharing your settings among your computers: IDE Settings Sync. Since 2019.1 this plugin supports syncing of "This Computer" layer .DotSettings file: But this plugin is more about synchronization between your personal computers as it uses your JetBrains Account.
It is better to use Team-Shared layer for sharing code style settings with a team.

Hope it helps.

Comment actions Permalink

Hi Sofia

Unfortunately when I use the IDE settings sync, it keeps resetting my code style configuration to defaults when I open Rider on different machines. It has cost me a lot of time and frustration manually setting them all up again. I really can't face doing it again. Is there anything I can do to fix it?

I am right now literally writing a tool to copy out settings files between machines. I need to sync across four machines, three of which dual boot so essentially 7 total and I just cannot take losing the settings any more. Total despair!


Please sign in to leave a comment.