For team collaboration, it would be great if all the settings could be exported to a file and automatically imported when the file changes (or when Dev Studio restarts).
Today, any changes to 'Inspection Severity' or other settings have to be done on every machine - this is unmanageable for a large group that wants consistent settings.
Also, only the code style settings can be externalized today. My team has checked a file into source control but it is still a manual step that every engineer has to do to load that file whenever it changes (even though they already have the new file because they got it when they got the latest code)
It is desirable for all settings (code style, inspection serverity, etc) to be externalized to a file that is automatically loaded when it changes or when dev studio restarts.
First builds will allow sharing any setting across the solution file – not exactly sharing with the external file yet, but still fitting most of the needs (I hope). External files will follow. It would help us if you comment on your scenarios involving the manually-defined external file rather than sharing the settings along with the solution.
For us, it would be helpful to have settings declared in a file and each time visual studio starts it could read in the most recent settings. That would keep things consistent across projects.
You need the solution file to point to some settings file, same one for everyone and for all solutions. This reference should be stored along with the solution in the source control. Right?
Now, the shared file. Is it expected to be in source control also (in some location common for all solutions), or on a UNC path to a network share, or on each developer's computer locally?
We need ReSharper to point to some settings file, not solution (although the latter could be useful for custom settings for a particular solution to overwrite the settings in the ReSharper settings file).
Yes, the shared file will be in source control in a common location. Once the developers sync their computer, they should be able to navigate from some ReSharper options menu to this file. If the contents of the file change, ReSharper should refresh the settings immediately without having to restart Visual Studio.
Perhaps our scenario is slightly different from others. Basically, I'm looking for a way to share settings without solutions knowing/storing any ReSharper info at all. I simply want to point ReSharper to one file and apply those settings to any solution I open, regardless of whether they are in source control or not. Does that make sense?
This makes strong sense if you got more solutions than developers. You'll be able to add a settings file as a layer to the settings system on each of the computers and have it behave the expected way.
In case there are more developers than solutions (which is also quite common), it might be easier to do the setup once per solution rather than once per machine, and that's what I meant in the previous comment.
We're not exposing UI for adding new layers in the first EAP build though – to focus on basic operations with predefined layers which are global settings and solution settings of the solution currently loaded.
inpatiently wait for the EAP with global settings!And what is "Solution.6.1.resharper" file still for?
I wanted to chime in to say that the situation Oleg describes is exactly what I am looking for as well. We have many more solutions than that developers; also developers make ad-hoc solutions regularly here. We do have a developer setup script which can point Resharper at a standard location.
So what I want (and my original desire behind opening this ticket) is to get support for what Oleg describes.
Thanks