mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
269 lines
14 KiB
XML
269 lines
14 KiB
XML
<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:Boolean x:Key="/Default/CodeEditing/ContextActionTable/DisabledContextActions/=JetBrains_002EReSharper_002EIntentions_002ECSharp_002EContextActions_002EInvokeAsStaticMethodAction/@EntryIndexedValue">True</s:Boolean>
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=RedundantArgumentNameForLiteralExpression/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
<s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=CodeReformat/@EntryIndexedValue"><?xml version="1.0" encoding="utf-16"?><Profile name="CodeReformat"><JsReformatCode>True</JsReformatCode><CSReformatCode>True</CSReformatCode><CSUseVar><BehavourStyle>DISABLED</BehavourStyle><LocalVariableStyle>IMPLICIT_WHEN_INITIALIZER_HAS_TYPE</LocalVariableStyle><ForeachVariableStyle>IMPLICIT_EXCEPT_SIMPLE_TYPES</ForeachVariableStyle></CSUseVar><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSUseAutoProperty>True</CSUseAutoProperty><HtmlReformatCode>True</HtmlReformatCode><AspOptimizeRegisterDirectives>True</AspOptimizeRegisterDirectives><CssReformatCode>True</CssReformatCode><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings></Profile></s:String>
|
|
<s:String x:Key="/Default/CodeStyle/CodeCleanup/SilentCleanupProfile/@EntryValue">CodeReformat</s:String>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_LINQ_QUERY/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_ARGUMENT/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_ARRAY_AND_OBJECT_INITIALIZER/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_CALLS_CHAIN/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_EXPRESSION/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_EXTENDS_LIST/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_FOR_STMT/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTILINE_PARAMETER/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTIPLE_DECLARATION/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTLINE_TYPE_PARAMETER_CONSTRAINS/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_MULTLINE_TYPE_PARAMETER_LIST/@EntryValue">False</s:Boolean>
|
|
<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:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/CONTINUOUS_INDENT_MULTIPLIER/@EntryValue">1</s:Int64>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/EXPLICIT_PRIVATE_MODIFIER/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INDENT_ANONYMOUS_METHOD_BLOCK/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INDENT_EMBRACED_INITIALIZER_BLOCK/@EntryValue">False</s:Boolean>
|
|
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INITIALIZER_BRACES/@EntryValue">NEXT_LINE</s:String>
|
|
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/KEEP_BLANK_LINES_IN_CODE/@EntryValue">1</s:Int64>
|
|
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/KEEP_BLANK_LINES_IN_DECLARATIONS/@EntryValue">1</s:Int64>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/LINE_FEED_AT_FILE_END/@EntryValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_FIELD_ATTRIBUTE_ON_SAME_LINE/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AFTER_TYPECAST_PARENTHESES/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_TYPEOF_PARENTHESES/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_IN_SINGLELINE_ANONYMOUS_METHOD/@EntryValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_WITHIN_SINGLE_LINE_ARRAY_INITIALIZER_BRACES/@EntryValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/STICK_COMMENT/@EntryValue">False</s:Boolean>
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_LINES/@EntryValue">False</s:Boolean>
|
|
<s:String x:Key="/Default/CodeStyle/CSharpMemberOrderPattern/CustomPattern/@EntryValue"><?xml version="1.0" encoding="utf-8"?>
|
|

|
|
<!--
|
|
II. Available match operands
|
|

|
|
Each operand may have Weight="..." attribute. This weight will be added to the match weight if the operand is evaluated to 'true'.
|
|
The default weight is 1
|
|

|
|
II.1 Boolean functions:
|
|
II.1.1 <And>....</And>
|
|
II.1.2 <Or>....</Or>
|
|
II.1.3 <Not>....</Not>
|
|

|
|
II.2 Operands
|
|
II.2.1 <Kind Is="..."/>. Kinds are: class, struct, interface, enum, delegate, type, constructor, destructor, property, indexer, method, operator, field, constant, event, member
|
|
II.2.2 <Name Is="..." [IgnoreCase="true/false"] />. The 'Is' attribute contains regular expression
|
|
II.2.3 <HasAttribute CLRName="..." [Inherit="true/false"] />. The 'CLRName' attribute contains regular expression
|
|
II.2.4 <Access Is="..."/>. The 'Is' values are: public, protected, internal, protected internal, private
|
|
II.2.5 <Static/>
|
|
II.2.6 <Abstract/>
|
|
II.2.7 <Virtual/>
|
|
II.2.8 <Override/>
|
|
II.2.9 <Sealed/>
|
|
II.2.10 <Readonly/>
|
|
II.2.11 <ImplementsInterface CLRName="..."/>. The 'CLRName' attribute contains regular expression
|
|
II.2.12 <HandlesEvent />
|
|
-->
|
|

|
|
<Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns">
|
|

|
|
<!--Do not reorder COM interfaces and structs marked by StructLayout attribute-->
|
|
<Pattern>
|
|
<Match>
|
|
<Or Weight="100">
|
|
<And>
|
|
<Kind Is="interface"/>
|
|
<Or>
|
|
<HasAttribute CLRName="System.Runtime.InteropServices.InterfaceTypeAttribute"/>
|
|
<HasAttribute CLRName="System.Runtime.InteropServices.ComImport"/>
|
|
</Or>
|
|
</And>
|
|
<HasAttribute CLRName="System.Runtime.InteropServices.StructLayoutAttribute"/>
|
|
</Or>
|
|
</Match>
|
|
</Pattern>
|
|

|
|
<!--Special formatting of NUnit test fixture-->
|
|
<Pattern RemoveAllRegions="true">
|
|
<Match>
|
|
<And Weight="100">
|
|
<Kind Is="class"/>
|
|
<HasAttribute CLRName="NUnit.Framework.TestFixtureAttribute" Inherit="true"/>
|
|
</And>
|
|
</Match>
|
|

|
|
<!--Setup/Teardown-->
|
|
<Entry>
|
|
<Match>
|
|
<And>
|
|
<Kind Is="method"/>
|
|
<Or>
|
|
<HasAttribute CLRName="NUnit.Framework.SetUpAttribute" Inherit="true"/>
|
|
<HasAttribute CLRName="NUnit.Framework.TearDownAttribute" Inherit="true"/>
|
|
<HasAttribute CLRName="NUnit.Framework.TestFixtureSetUpAttribute" Inherit="true"/>
|
|
<HasAttribute CLRName="NUnit.Framework.TestFixtureTearDownAttribute" Inherit="true"/>
|
|
</Or>
|
|
</And>
|
|
</Match>
|
|
<Group Region="Setup/Teardown"/>
|
|
</Entry>
|
|

|
|
<!--Test methods-->
|
|
<Entry>
|
|
<Match>
|
|
<And Weight="100">
|
|
<Kind Is="method"/>
|
|
<HasAttribute CLRName="NUnit.Framework.TestAttribute" Inherit="false"/>
|
|
</And>
|
|
</Match>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--All other members-->
|
|
<Entry>
|
|
<Group Region="Supporting Code"/>
|
|
</Entry>
|
|

|
|
</Pattern>
|
|

|
|
<!--Default pattern-->
|
|
<Pattern>
|
|

|
|
<!--public delegate-->
|
|
<Entry>
|
|
<Match>
|
|
<And Weight="100">
|
|
<Access Is="public"/>
|
|
<Kind Is="delegate"/>
|
|
</And>
|
|
</Match>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--public enum-->
|
|
<Entry>
|
|
<Match>
|
|
<And Weight="100">
|
|
<Access Is="public"/>
|
|
<Kind Is="enum"/>
|
|
</And>
|
|
</Match>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
<Group>
|
|
<Name/>
|
|
</Group>
|
|
</Entry>
|
|

|
|
<!--static fields and constants-->
|
|
<Entry>
|
|
<Match>
|
|
<Or>
|
|
<Kind Is="constant"/>
|
|
<And>
|
|
<Kind Is="field"/>
|
|
<Static/>
|
|
</And>
|
|
</Or>
|
|
</Match>
|
|
<Sort>
|
|
<Kind Order="constant field"/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--instance fields-->
|
|
<Entry>
|
|
<Match>
|
|
<And>
|
|
<Kind Is="field"/>
|
|
<Not>
|
|
<Static/>
|
|
</Not>
|
|
</And>
|
|
</Match>
|
|
<Sort>
|
|
<Readonly/>
|
|
<Name/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--Constructors. Place static one first-->
|
|
<Entry>
|
|
<Match>
|
|
<Kind Is="constructor"/>
|
|
</Match>
|
|
<Sort>
|
|
<Static/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--properties, indexers-->
|
|
<Entry>
|
|
<Match>
|
|
<Or>
|
|
<Kind Is="property"/>
|
|
<Kind Is="indexer"/>
|
|
</Or>
|
|
</Match>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--interface implementations-->
|
|
<Entry>
|
|
<Match>
|
|
<And Weight="100">
|
|
<Kind Is="member"/>
|
|
<ImplementsInterface/>
|
|
</And>
|
|
</Match>
|
|
<Sort>
|
|
<ImplementsInterface Immediate="true"/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--public methods-->
|
|
<Entry>
|
|
<Match>
|
|
<And>
|
|
<Kind Is="method"/>
|
|
<Access Is="public"/>
|
|
</And>
|
|
</Match>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--all other members-->
|
|
<Entry>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
</Entry>
|
|

|
|
<!--nested types-->
|
|
<Entry>
|
|
<Match>
|
|
<Kind Is="type"/>
|
|
</Match>
|
|
<Sort>
|
|
<Name/>
|
|
</Sort>
|
|
<Group>
|
|
<Name/>
|
|
</Group>
|
|
</Entry>
|
|
</Pattern>
|
|

|
|
</Patterns>
|
|
</s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateConstants/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue"><Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /></s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticFields/@EntryIndexedValue"><Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /></s:String>
|
|
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateStaticReadonly/@EntryIndexedValue"><Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /></s:String>
|
|
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpFileLayoutPatternsUpgrade/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
|
|
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean>
|
|
</wpf:ResourceDictionary> |