|
|
@@ -3,6 +3,7 @@
|
|
|
|
|
|
<s:Boolean x:Key="/Default/CodeEditing/Localization/CSharpLocalizationOptions/DontAnalyseVerbatimStrings/@EntryValue">False</s:Boolean>
|
|
|
<s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=_002A_002Emin_002Ejs/@EntryIndexedValue">True</s:Boolean>
|
|
|
+ <s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ArrangeThisQualifier/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=CheckNamespace/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ConvertIfStatementToReturnStatement/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ConvertToAutoProperty/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
@@ -23,11 +24,11 @@
|
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnusedAutoPropertyAccessor_002EGlobal/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UnusedAutoPropertyAccessor_002ELocal/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=UseObjectOrCollectionInitializer/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
|
- <s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=tanghai/@EntryIndexedValue"><?xml version="1.0" encoding="utf-16"?><Profile name="tanghai"><CSArrangeThisQualifier>True</CSArrangeThisQualifier><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSUseVar><BehavourStyle>DISABLED</BehavourStyle><LocalVariableStyle>IMPLICIT_WHEN_INITIALIZER_HAS_TYPE</LocalVariableStyle><ForeachVariableStyle>IMPLICIT_EXCEPT_SIMPLE_TYPES</ForeachVariableStyle></CSUseVar><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode></Profile></s:String>
|
|
|
+ <s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=tanghai/@EntryIndexedValue"><?xml version="1.0" encoding="utf-16"?><Profile name="tanghai"><CSArrangeThisQualifier>True</CSArrangeThisQualifier><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSUseVar><BehavourStyle>DISABLED</BehavourStyle><LocalVariableStyle>IMPLICIT_WHEN_INITIALIZER_HAS_TYPE</LocalVariableStyle><ForeachVariableStyle>IMPLICIT_EXCEPT_SIMPLE_TYPES</ForeachVariableStyle></CSUseVar><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode><CSMakeAutoPropertyGetOnly>True</CSMakeAutoPropertyGetOnly><CSUseAutoProperty>True</CSUseAutoProperty><CSEnforceVarKeywordUsageSettings>True</CSEnforceVarKeywordUsageSettings><RemoveCodeRedundancies>True</RemoveCodeRedundancies></Profile></s:String>
|
|
|
<s:String x:Key="/Default/CodeStyle/CodeCleanup/RecentlyUsedProfile/@EntryValue">tanghai</s:String>
|
|
|
<s:String x:Key="/Default/CodeStyle/CodeCleanup/SilentCleanupProfile/@EntryValue">tanghai</s:String>
|
|
|
- <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/ThisQualifier/INSTANCE_MEMBERS_QUALIFY_DECLARED_IN/@EntryValue">0</s:String>
|
|
|
- <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/ThisQualifier/INSTANCE_MEMBERS_QUALIFY_MEMBERS/@EntryValue">Field, Property, Event, Method</s:String>
|
|
|
+
|
|
|
+ <s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/ThisQualifier/INSTANCE_MEMBERS_QUALIFY_MEMBERS/@EntryValue">All</s:String>
|
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_FIRST_ARG_BY_PAREN/@EntryValue">True</s:Boolean>
|
|
|
|
|
|
|
|
|
@@ -65,7 +66,7 @@
|
|
|
|
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_BEFORE_FIRST_TYPE_PARAMETER_CONSTRAINT/@EntryValue">True</s:Boolean>
|
|
|
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_FOR_STMT_HEADER_STYLE/@EntryValue">WRAP_IF_LONG</s:String>
|
|
|
- <s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_LIMIT/@EntryValue">100</s:Int64>
|
|
|
+ <s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_LIMIT/@EntryValue">150</s:Int64>
|
|
|
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_MULTIPLE_DECLARATION_STYLE/@EntryValue">WRAP_IF_LONG</s:String>
|
|
|
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_TERNARY_EXPR_STYLE/@EntryValue">WRAP_IF_LONG</s:String>
|
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/ALIGN_MULTIPLE_DECLARATION/@EntryValue">True</s:Boolean>
|
|
|
@@ -75,142 +76,7 @@
|
|
|
<s:String x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/TagAttributeIndenting/@EntryValue">TwoSteps</s:String>
|
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/TagSpaceBeforeHeaderEnd1/@EntryValue">False</s:Boolean>
|
|
|
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/XmlFormatter/WrapBeforeAttr/@EntryValue">False</s:Boolean>
|
|
|
- <s:String x:Key="/Default/CodeStyle/CSharpFileLayoutPatterns/Pattern/@EntryValue"><?xml version="1.0" encoding="utf-16"?>
|
|
|
-<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns">
|
|
|
- <TypePattern DisplayName="COM interfaces or structs" Priority="0">
|
|
|
- <TypePattern.Match>
|
|
|
- <Or>
|
|
|
- <And>
|
|
|
- <Kind Is="Interface" />
|
|
|
- <Or>
|
|
|
- <HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" />
|
|
|
- <HasAttribute Name="System.Runtime.InteropServices.ComImport" />
|
|
|
- </Or>
|
|
|
- </And>
|
|
|
- <HasAttribute Name="System.Runtime.InteropServices.StructLayoutAttribute" />
|
|
|
- </Or>
|
|
|
- </TypePattern.Match>
|
|
|
- </TypePattern>
|
|
|
- <TypePattern DisplayName="NUnit Test Fixtures" RemoveRegions="All" Priority="0">
|
|
|
- <TypePattern.Match>
|
|
|
- <And>
|
|
|
- <Kind Is="Class" />
|
|
|
- <HasAttribute Name="NUnit.Framework.TestFixtureAttribute" Inherited="True" />
|
|
|
- <HasAttribute Name="NUnit.Framework.TestCaseFixtureAttribute" Inherited="True" />
|
|
|
- </And>
|
|
|
- </TypePattern.Match>
|
|
|
- <Entry DisplayName="Setup/Teardown Methods">
|
|
|
- <Entry.Match>
|
|
|
- <And>
|
|
|
- <Kind Is="Method" />
|
|
|
- <Or>
|
|
|
- <HasAttribute Name="NUnit.Framework.SetUpAttribute" Inherited="True" />
|
|
|
- <HasAttribute Name="NUnit.Framework.TearDownAttribute" Inherited="True" />
|
|
|
- <HasAttribute Name="NUnit.Framework.FixtureSetUpAttribute" Inherited="True" />
|
|
|
- <HasAttribute Name="NUnit.Framework.FixtureTearDownAttribute" Inherited="True" />
|
|
|
- </Or>
|
|
|
- </And>
|
|
|
- </Entry.Match>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="All other members" />
|
|
|
- <Entry DisplayName="Test Methods" Priority="100">
|
|
|
- <Entry.Match>
|
|
|
- <And>
|
|
|
- <Kind Is="Method" />
|
|
|
- <HasAttribute Name="NUnit.Framework.TestAttribute" />
|
|
|
- </And>
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <Name />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- </TypePattern>
|
|
|
- <TypePattern DisplayName="Default Pattern" Priority="0">
|
|
|
- <Entry DisplayName="Public Delegates" Priority="100">
|
|
|
- <Entry.Match>
|
|
|
- <And>
|
|
|
- <Access Is="Public" />
|
|
|
- <Kind Is="Delegate" />
|
|
|
- </And>
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <Name />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="Public Enums" Priority="100">
|
|
|
- <Entry.Match>
|
|
|
- <And>
|
|
|
- <Access Is="Public" />
|
|
|
- <Kind Is="Enum" />
|
|
|
- </And>
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <Name />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="Static Fields and Constants">
|
|
|
- <Entry.Match>
|
|
|
- <Or>
|
|
|
- <Kind Is="Constant" />
|
|
|
- <And>
|
|
|
- <Kind Is="Field" />
|
|
|
- <Static />
|
|
|
- </And>
|
|
|
- </Or>
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <Kind Order="Constant Field" />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="Fields">
|
|
|
- <Entry.Match>
|
|
|
- <And>
|
|
|
- <Kind Is="Field" />
|
|
|
- <Not>
|
|
|
- <Static />
|
|
|
- </Not>
|
|
|
- </And>
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <Readonly />
|
|
|
- <Name />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="Properties, Indexers">
|
|
|
- <Entry.Match>
|
|
|
- <Or>
|
|
|
- <Kind Is="Property" />
|
|
|
- <Kind Is="Indexer" />
|
|
|
- </Or>
|
|
|
- </Entry.Match>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="Constructors">
|
|
|
- <Entry.Match>
|
|
|
- <Kind Is="Constructor" />
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <Static />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="Interface Implementations" Priority="100">
|
|
|
- <Entry.Match>
|
|
|
- <And>
|
|
|
- <Kind Is="Member" />
|
|
|
- <ImplementsInterface />
|
|
|
- </And>
|
|
|
- </Entry.Match>
|
|
|
- <Entry.SortBy>
|
|
|
- <ImplementsInterface Immediate="True" />
|
|
|
- </Entry.SortBy>
|
|
|
- </Entry>
|
|
|
- <Entry DisplayName="All other members" />
|
|
|
- <Entry DisplayName="Nested Types">
|
|
|
- <Entry.Match>
|
|
|
- <Kind Is="Type" />
|
|
|
- </Entry.Match>
|
|
|
- </Entry>
|
|
|
- </TypePattern>
|
|
|
-</Patterns></s:String>
|
|
|
+
|
|
|
<s:String x:Key="/Default/CodeStyle/CSharpMemberOrderPattern/CustomPattern/@EntryValue"><?xml version="1.0" encoding="utf-8" ?>
|
|
|

|
|
|
<!--
|
|
|
@@ -444,7 +310,10 @@ II.2.12 <HandlesEvent />
|
|
|
<s:Double x:Key="/Default/Environment/InjectedLayers/InjectedLayerCustomization/=FileDDF13CBED5B73F458EEE62DE911810DB/RelativePriority/@EntryValue">1</s:Double>
|
|
|
<s:Boolean x:Key="/Default/Environment/OpenDocument/OpenDocumentAfterModification/@EntryValue">True</s:Boolean>
|
|
|
<s:Boolean x:Key="/Default/Environment/SearchAndNavigation/MergeOccurences/@EntryValue">True</s:Boolean>
|
|
|
+ <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>
|
|
|
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002EJavaScript_002ECodeStyle_002ESettingsUpgrade_002EJsCodeFormatterSettingsUpgrader/@EntryIndexedValue">True</s:Boolean>
|
|
|
<s:Boolean x:Key="/Default/Environment/TextControl/HighlightCurrentLine/@EntryValue">True</s:Boolean>
|
|
|
<s:Boolean x:Key="/Default/Environment/UnitTesting/MsTestProvider/UseTestRunConfigFromMetadataFile/@EntryValue">False</s:Boolean>
|