As stated in this article, the ReSharper.sln.DotSettings file contains only those settings whose values have been changed from the default values. Is there a way to save all code changes and code verification settings at the collaboration level, regardless of changing the value or the default value?
The only way I can do this, I see, is changing each value and switching it (so that they all fall into the .sln.DotSettings file), however this seems to be a rather time-consuming task.
The problem I'm trying to avoid is this:
Suppose there are 2 developers on the team, say Jessica and John, and they decide that they are ok with Resharper by default, to prefix private fields with underscores:
int _myPrivateField = 1;
Thus, they do not change the "Instance (Private)" parameter in the "C # Naming Style" section and check the .sln.DotSettings file. However, when Jessica checks the source code on her home laptop, Resharper still suggests using
int myPrivateField = 1;
because her computer changed the setting to no prefix saved as "Save to this computer." As stated in the Resharper docs, if the “This Computer” layer has a value for the parameter, while the other layers will not use the value (see Middle green setting in this figure: http://blogs.jetbrains.com/dotnet/wp-content /uploads/2012/08/layers3.png
source share