How to distribute default settings
On my PC I have a custom layer hanging off "This computer" that contains our company-wide settings (or so I thought). A second dev joined the company recently, and after installing R# (9.2) I thought it would be a simple case of having him create the same layer (under "This computer") using my settings file. However we found that a lot of his settings still differed from my PC.
Thinking that some of the missing settings might be in my "This computer" layer, we physically copied the GlobalSettingsStorage.DotSettings file from my PC and overwrote his version. We then did the same for the "Resharper 8 global settings" layer to be on the safe side. This improved things a little but there were still some differences.
One example was the "Use 'this.' qualifer for" setting (Code Editing -> C# -> Code Style), which is turned off on my PC and works as expected (i.e. R# doesn't prefix any code with "this."), but not for the new dev. On his PC we looked at each layer in turn (via Resharper -> Manage Options) but found that this setting was already "None"! However if we went into Resharper -> Options (rather than 'Manage Options') then the four items (field, property, event, method) were ticked! After unticking them and saving, it started working as expected. What's going on here? I thought "Options" edited the "This computer" layer by default?
What are we doing wrong, and what is the best way to duplicate all of my settings to other PCs? We use R# 9.2 by the way.
We never use solution-level settings, and don't want to. We just want settings at the PC/global level that can be applied to all solutions.
Please sign in to leave a comment.