Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
226 lines (226 sloc) 9.43 KB
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ANONYMOUS_METHOD_DECLARATION_BRACES/@EntryValue">NEXT_LINE</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/CASE_BLOCK_BRACES/@EntryValue">NEXT_LINE</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INITIALIZER_BRACES/@EntryValue">NEXT_LINE</s:String>
<s:String x:Key="/Default/CodeStyle/CSharpMemberOrderPattern/CustomPattern/@EntryValue">&lt;?xml version="1.0" encoding="utf-8" ?&gt;&#xD;
&#xD;
&lt;!--&#xD;
I. Overall&#xD;
&#xD;
I.1 Each pattern can have &lt;Match&gt;....&lt;/Match&gt; element. For the given type declaration, the pattern with the match, evaluated to 'true' with the largest weight, will be used &#xD;
I.2 Each pattern consists of the sequence of &lt;Entry&gt;...&lt;/Entry&gt; elements. Type member declarations are distributed between entries&#xD;
I.3 If pattern has RemoveAllRegions="true" attribute, then all regions will be cleared prior to reordering. Otherwise, only auto-generated regions will be cleared&#xD;
I.4 The contents of each entry is sorted by given keys (First key is primary, next key is secondary, etc). Then the declarations are grouped and en-regioned by given property&#xD;
&#xD;
II. Available match operands&#xD;
&#xD;
Each operand may have Weight="..." attribute. This weight will be added to the match weight if the operand is evaluated to 'true'.&#xD;
The default weight is 1&#xD;
&#xD;
II.1 Boolean functions:&#xD;
II.1.1 &lt;And&gt;....&lt;/And&gt;&#xD;
II.1.2 &lt;Or&gt;....&lt;/Or&gt;&#xD;
II.1.3 &lt;Not&gt;....&lt;/Not&gt;&#xD;
&#xD;
II.2 Operands&#xD;
II.2.1 &lt;Kind Is="..."/&gt;. Kinds are: class, struct, interface, enum, delegate, type, constructor, destructor, property, indexer, method, operator, field, constant, event, member&#xD;
II.2.2 &lt;Name Is="..." [IgnoreCase="true/false"] /&gt;. The 'Is' attribute contains regular expression&#xD;
II.2.3 &lt;HasAttribute CLRName="..." [Inherit="true/false"] /&gt;. The 'CLRName' attribute contains regular expression&#xD;
II.2.4 &lt;Access Is="..."/&gt;. The 'Is' values are: public, protected, internal, protected internal, private&#xD;
II.2.5 &lt;Static/&gt;&#xD;
II.2.6 &lt;Abstract/&gt;&#xD;
II.2.7 &lt;Virtual/&gt;&#xD;
II.2.8 &lt;Override/&gt;&#xD;
II.2.9 &lt;Sealed/&gt;&#xD;
II.2.10 &lt;Readonly/&gt;&#xD;
II.2.11 &lt;ImplementsInterface CLRName="..."/&gt;. The 'CLRName' attribute contains regular expression&#xD;
II.2.12 &lt;HandlesEvent /&gt;&#xD;
--&gt;&#xD;
&#xD;
&lt;Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns"&gt;&#xD;
&#xD;
&lt;!--Do not reorder COM interfaces and structs marked by StructLayout attribute--&gt;&#xD;
&lt;Pattern&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Or Weight="100"&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="interface"/&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;HasAttribute CLRName="System.Runtime.InteropServices.InterfaceTypeAttribute"/&gt;&#xD;
&lt;HasAttribute CLRName="System.Runtime.InteropServices.ComImport"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;HasAttribute CLRName="System.Runtime.InteropServices.StructLayoutAttribute"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;/Pattern&gt;&#xD;
&#xD;
&lt;!--Special formatting of NUnit test fixture--&gt;&#xD;
&lt;Pattern RemoveAllRegions="true"&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Kind Is="class"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TestFixtureAttribute" Inherit="true"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&#xD;
&lt;!--Setup/Teardow--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="method"/&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.SetUpAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TearDownAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.FixtureSetUpAttribute" Inherit="true"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.FixtureTearDownAttribute" Inherit="true"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Group Region="Setup/Teardown"/&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--All other members--&gt;&#xD;
&lt;Entry/&gt;&#xD;
&#xD;
&lt;!--Test methods--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Kind Is="method"/&gt;&#xD;
&lt;HasAttribute CLRName="NUnit.Framework.TestAttribute" Inherit="false"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Pattern&gt;&#xD;
&#xD;
&lt;!--Default pattern--&gt;&#xD;
&lt;Pattern&gt;&#xD;
&#xD;
&lt;!--public delegate--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Access Is="public"/&gt;&#xD;
&lt;Kind Is="delegate"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group Region="Delegates"/&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--public enum--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Access Is="public"/&gt;&#xD;
&lt;Kind Is="enum"/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group&gt;&#xD;
&lt;Name Region="${Name} enum"/&gt;&#xD;
&lt;/Group&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--static fields and constants--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;Kind Is="constant"/&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="field"/&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Kind Order="constant field"/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--instance fields--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And&gt;&#xD;
&lt;Kind Is="field"/&gt;&#xD;
&lt;Not&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;/Not&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Readonly/&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--Constructors. Place static one first--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="constructor"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Static/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--properties, indexers--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Or&gt;&#xD;
&lt;Kind Is="property"/&gt;&#xD;
&lt;Kind Is="indexer"/&gt;&#xD;
&lt;/Or&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--interface implementations--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;And Weight="100"&gt;&#xD;
&lt;Kind Is="member"/&gt;&#xD;
&lt;ImplementsInterface/&gt;&#xD;
&lt;/And&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;ImplementsInterface Immediate="true"/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;Group&gt;&#xD;
&lt;ImplementsInterface Immediate="true" Region="${ImplementsInterface} Members"/&gt;&#xD;
&lt;/Group&gt;&#xD;
&lt;/Entry&gt;&#xD;
&#xD;
&lt;!--all other members--&gt;&#xD;
&lt;Entry/&gt;&#xD;
&#xD;
&lt;!--nested types--&gt;&#xD;
&lt;Entry&gt;&#xD;
&lt;Match&gt;&#xD;
&lt;Kind Is="type"/&gt;&#xD;
&lt;/Match&gt;&#xD;
&lt;Sort&gt;&#xD;
&lt;Name/&gt;&#xD;
&lt;/Sort&gt;&#xD;
&lt;/Entry&gt;&#xD;
&lt;/Pattern&gt;&#xD;
&#xD;
&lt;/Patterns&gt;&#xD;
</s:String>
<s:String x:Key="/Default/Environment/Hierarchy/PsiConfiguration/LocationType/@EntryValue">TEMP_FOLDER</s:String>
<s:Boolean x:Key="/Default/Environment/TextControl/HighlightCurrentLine/@EntryValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/UnitTesting/DisabledProviders/=MSTest/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/UnitTesting/DisabledProviders/=nUnit/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/UpdatesManger/IsDownloadUpdateDataAllowed/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/Environment/UnitTesting/DisabledProviders/=QUnit/@EntryIndexedValue">True</s:Boolean>
<s:Int64 x:Key="/Default/Environment/UnitTesting/ParallelProcessesCount/@EntryValue">4</s:Int64>
<s:Boolean x:Key="/Default/Environment/UnitTesting/SaveSessionState/@EntryValue">False</s:Boolean>
<s:String x:Key="/Default/Environment/UserInterface/ShortcutSchemeName/@EntryValue">None</s:String>
<s:Boolean x:Key="/Default/Environment/UserInterface/TipsManager/ShowTipsOnStartup/@EntryValue">False</s:Boolean></wpf:ResourceDictionary>