Explanation Please

Can someone please explain to me how to use the three coding style
applicability levels? I have figured out most of it, but some help is still
needed. Moreover, I'm sure everyone would like to read the formal
definition...


1 comment
Comment actions Permalink

1) Global per-user settings

The code style settings are stored in c:\document and settings\......
directory, and they're individual for each user

2) Per-solution settings shared in team

The code style settings are stored in *.resharper file, which could be put
under source control. Thus, the settings are separate for this given
solution, and they are the same for every team member working on given
solution

3) Per-solution from external file

The code style settings are stored in separate given file (which, also,
could be put under source control), and the reference to that file is stored
in "*.resharper" file.

So, basically, items 2 and 3 are nearlly the same. The main restricition for
item 3 is the necessity for all team members to check out the files from
source control into the same location, so that the reference to the code
style settings file could be found.

The advantage for the item 3 is when you have a lot of solutions, you can
apply the same code style settings for them from a source control repository
root (And the ability for the project manager/team leader to modify these
settings in a uniform way)

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Amir Kolsky" <amir@xpandsoft.com> wrote in message
news:dho5qi$3f5$1@is.intellij.net...

Can someone please explain to me how to use the three coding style
applicability levels? I have figured out most of it, but some help is
still needed. Moreover, I'm sure everyone would like to read the formal
definition...



0

Please sign in to leave a comment.