Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml')
-rw-r--r--main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml178
1 files changed, 44 insertions, 134 deletions
diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml
index b9f7b6b8a6..92cb6cd61e 100644
--- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml
+++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/policies/KRCSharpPolicy.xml
@@ -27,138 +27,48 @@ THE SOFTWARE.
-->
<CSharpFormattingPolicy scope="text/x-csharp" allowDiffSerialize="False">
- <IndentNamespaceBody>True</IndentNamespaceBody>
- <IndentClassBody>True</IndentClassBody>
- <IndentInterfaceBody>True</IndentInterfaceBody>
- <IndentStructBody>True</IndentStructBody>
- <IndentEnumBody>True</IndentEnumBody>
- <IndentMethodBody>True</IndentMethodBody>
- <IndentPropertyBody>True</IndentPropertyBody>
- <IndentEventBody>True</IndentEventBody>
- <IndentBlocks>True</IndentBlocks>
- <IndentSwitchBody>True</IndentSwitchBody>
- <IndentCaseBody>True</IndentCaseBody>
- <IndentBreakStatements>True</IndentBreakStatements>
- <AlignEmbeddedStatements>True</AlignEmbeddedStatements>
- <SimplePropertyFormatting>AllowOneLine</SimplePropertyFormatting>
- <AutoPropertyFormatting>AllowOneLine</AutoPropertyFormatting>
- <NamespaceBraceStyle>NextLine</NamespaceBraceStyle>
- <ClassBraceStyle>NextLine</ClassBraceStyle>
- <InterfaceBraceStyle>NextLine</InterfaceBraceStyle>
- <StructBraceStyle>NextLine</StructBraceStyle>
- <EnumBraceStyle>NextLine</EnumBraceStyle>
- <MethodBraceStyle>NextLine</MethodBraceStyle>
- <AnonymousMethodBraceStyle>EndOfLine</AnonymousMethodBraceStyle>
- <ConstructorBraceStyle>NextLine</ConstructorBraceStyle>
- <DestructorBraceStyle>NextLine</DestructorBraceStyle>
- <PropertyBraceStyle>EndOfLine</PropertyBraceStyle>
- <PropertyGetBraceStyle>EndOfLine</PropertyGetBraceStyle>
- <PropertySetBraceStyle>EndOfLine</PropertySetBraceStyle>
- <SimpleGetBlockFormatting>AllowOneLine</SimpleGetBlockFormatting>
- <SimpleSetBlockFormatting>AllowOneLine</SimpleSetBlockFormatting>
- <EventBraceStyle>EndOfLine</EventBraceStyle>
- <EventAddBraceStyle>EndOfLine</EventAddBraceStyle>
- <EventRemoveBraceStyle>EndOfLine</EventRemoveBraceStyle>
- <AllowEventAddBlockInline>True</AllowEventAddBlockInline>
- <AllowEventRemoveBlockInline>True</AllowEventRemoveBlockInline>
- <StatementBraceStyle>EndOfLine</StatementBraceStyle>
- <AllowIfBlockInline>False</AllowIfBlockInline>
- <ElseNewLinePlacement>SameLine</ElseNewLinePlacement>
- <ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement>
- <CatchNewLinePlacement>SameLine</CatchNewLinePlacement>
- <FinallyNewLinePlacement>SameLine</FinallyNewLinePlacement>
- <WhileNewLinePlacement>SameLine</WhileNewLinePlacement>
- <ArrayInitializerWrapping>WrapIfTooLong</ArrayInitializerWrapping>
- <ArrayInitializerBraceStyle>EndOfLine</ArrayInitializerBraceStyle>
- <KeepCommentsAtFirstColumn>True</KeepCommentsAtFirstColumn>
- <BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses>
- <BetweenEmptyMethodDeclarationParentheses>False</BetweenEmptyMethodDeclarationParentheses>
- <BeforeMethodDeclarationParameterComma>False</BeforeMethodDeclarationParameterComma>
- <AfterMethodDeclarationParameterComma>True</AfterMethodDeclarationParameterComma>
- <WithinMethodDeclarationParentheses>False</WithinMethodDeclarationParentheses>
- <BeforeMethodCallParentheses>False</BeforeMethodCallParentheses>
- <BetweenEmptyMethodCallParentheses>False</BetweenEmptyMethodCallParentheses>
- <BeforeMethodCallParameterComma>False</BeforeMethodCallParameterComma>
- <AfterMethodCallParameterComma>True</AfterMethodCallParameterComma>
- <WithinMethodCallParentheses>False</WithinMethodCallParentheses>
- <BeforeFieldDeclarationComma>False</BeforeFieldDeclarationComma>
- <AfterFieldDeclarationComma>True</AfterFieldDeclarationComma>
- <BeforeLocalVariableDeclarationComma>False</BeforeLocalVariableDeclarationComma>
- <AfterLocalVariableDeclarationComma>True</AfterLocalVariableDeclarationComma>
- <BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses>
- <BetweenEmptyConstructorDeclarationParentheses>False</BetweenEmptyConstructorDeclarationParentheses>
- <BeforeConstructorDeclarationParameterComma>False</BeforeConstructorDeclarationParameterComma>
- <AfterConstructorDeclarationParameterComma>True</AfterConstructorDeclarationParameterComma>
- <WithinConstructorDeclarationParentheses>False</WithinConstructorDeclarationParentheses>
- <NewLineBeforeConstructorInitializerColon>NewLine</NewLineBeforeConstructorInitializerColon>
- <NewLineAfterConstructorInitializerColon>SameLine</NewLineAfterConstructorInitializerColon>
- <BeforeIndexerDeclarationBracket>True</BeforeIndexerDeclarationBracket>
- <WithinIndexerDeclarationBracket>False</WithinIndexerDeclarationBracket>
- <BeforeIndexerDeclarationParameterComma>False</BeforeIndexerDeclarationParameterComma>
- <AfterIndexerDeclarationParameterComma>True</AfterIndexerDeclarationParameterComma>
- <BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses>
- <BetweenEmptyDelegateDeclarationParentheses>False</BetweenEmptyDelegateDeclarationParentheses>
- <BeforeDelegateDeclarationParameterComma>False</BeforeDelegateDeclarationParameterComma>
- <AfterDelegateDeclarationParameterComma>False</AfterDelegateDeclarationParameterComma>
- <WithinDelegateDeclarationParentheses>False</WithinDelegateDeclarationParentheses>
- <NewParentheses>False</NewParentheses>
- <IfParentheses>True</IfParentheses>
- <WhileParentheses>True</WhileParentheses>
- <ForParentheses>True</ForParentheses>
- <ForeachParentheses>True</ForeachParentheses>
- <CatchParentheses>True</CatchParentheses>
- <SwitchParentheses>True</SwitchParentheses>
- <LockParentheses>True</LockParentheses>
- <UsingParentheses>True</UsingParentheses>
- <AroundAssignmentParentheses>True</AroundAssignmentParentheses>
- <AroundLogicalOperatorParentheses>True</AroundLogicalOperatorParentheses>
- <AroundEqualityOperatorParentheses>True</AroundEqualityOperatorParentheses>
- <AroundRelationalOperatorParentheses>True</AroundRelationalOperatorParentheses>
- <AroundBitwiseOperatorParentheses>True</AroundBitwiseOperatorParentheses>
- <AroundAdditiveOperatorParentheses>True</AroundAdditiveOperatorParentheses>
- <AroundMultiplicativeOperatorParentheses>True</AroundMultiplicativeOperatorParentheses>
- <AroundShiftOperatorParentheses>True</AroundShiftOperatorParentheses>
- <AroundNullCoalescingOperator>True</AroundNullCoalescingOperator>
- <WithinParentheses>False</WithinParentheses>
- <WithinIfParentheses>False</WithinIfParentheses>
- <WithinWhileParentheses>False</WithinWhileParentheses>
- <WithinForParentheses>False</WithinForParentheses>
- <WithinForEachParentheses>False</WithinForEachParentheses>
- <WithinCatchParentheses>False</WithinCatchParentheses>
- <WithinSwitchParentheses>False</WithinSwitchParentheses>
- <WithinLockParentheses>False</WithinLockParentheses>
- <WithinUsingParentheses>False</WithinUsingParentheses>
- <WithinCastParentheses>False</WithinCastParentheses>
- <WithinSizeOfParentheses>False</WithinSizeOfParentheses>
- <BeforeSizeOfParentheses>False</BeforeSizeOfParentheses>
- <WithinTypeOfParentheses>False</WithinTypeOfParentheses>
- <WithinNewParentheses>False</WithinNewParentheses>
- <BetweenEmptyNewParentheses>False</BetweenEmptyNewParentheses>
- <BeforeNewParameterComma>False</BeforeNewParameterComma>
- <AfterNewParameterComma>True</AfterNewParameterComma>
- <BeforeTypeOfParentheses>False</BeforeTypeOfParentheses>
- <WithinCheckedExpressionParantheses>False</WithinCheckedExpressionParantheses>
- <ConditionalOperatorBeforeConditionSpace>True</ConditionalOperatorBeforeConditionSpace>
- <ConditionalOperatorAfterConditionSpace>True</ConditionalOperatorAfterConditionSpace>
- <ConditionalOperatorBeforeSeparatorSpace>True</ConditionalOperatorBeforeSeparatorSpace>
- <ConditionalOperatorAfterSeparatorSpace>True</ConditionalOperatorAfterSeparatorSpace>
- <SpacesWithinBrackets>False</SpacesWithinBrackets>
- <SpacesBeforeBrackets>False</SpacesBeforeBrackets>
- <BeforeBracketComma>False</BeforeBracketComma>
- <AfterBracketComma>True</AfterBracketComma>
- <SpacesBeforeForSemicolon>False</SpacesBeforeForSemicolon>
- <SpacesAfterForSemicolon>True</SpacesAfterForSemicolon>
- <SpacesAfterTypecast>False</SpacesAfterTypecast>
- <SpacesBeforeArrayDeclarationBrackets>False</SpacesBeforeArrayDeclarationBrackets>
- <BlankLinesBeforeUsings>0</BlankLinesBeforeUsings>
- <BlankLinesAfterUsings>1</BlankLinesAfterUsings>
- <BlankLinesBeforeFirstDeclaration>0</BlankLinesBeforeFirstDeclaration>
- <BlankLinesBetweenTypes>1</BlankLinesBetweenTypes>
- <BlankLinesBetweenFields>0</BlankLinesBetweenFields>
- <BlankLinesBetweenEventFields>0</BlankLinesBetweenEventFields>
- <BlankLinesBetweenMembers>1</BlankLinesBetweenMembers>
- <BlankLinesInsideRegion>1</BlankLinesInsideRegion>
- <BlankLinesAroundRegion>1</BlankLinesAroundRegion>
- <IndentPreprocessorDirectives>True</IndentPreprocessorDirectives>
- <IndentBlocksInsideExpressions>False</IndentBlocksInsideExpressions>
+ <IndentBlock>True</IndentBlock>
+ <IndentBraces>False</IndentBraces>
+ <IndentSwitchSection>True</IndentSwitchSection>
+ <IndentSwitchCaseSection>True</IndentSwitchCaseSection>
+ <LabelPositioning>OneLess</LabelPositioning>
+ <NewLinesForBracesInTypes>True</NewLinesForBracesInTypes>
+ <NewLinesForBracesInMethods>True</NewLinesForBracesInMethods>
+ <NewLinesForBracesInAnonymousMethods>False</NewLinesForBracesInAnonymousMethods>
+ <NewLinesForBracesInControlBlocks>False</NewLinesForBracesInControlBlocks>
+ <NewLinesForBracesInAnonymousTypes>False</NewLinesForBracesInAnonymousTypes>
+ <NewLinesForBracesInObjectInitializers>False</NewLinesForBracesInObjectInitializers>
+ <NewLinesForBracesInLambdaExpressionBody>False</NewLinesForBracesInLambdaExpressionBody>
+ <NewLineForElse>False</NewLineForElse>
+ <NewLineForCatch>False</NewLineForCatch>
+ <NewLineForFinally>False</NewLineForFinally>
+ <NewLineForMembersInObjectInit>False</NewLineForMembersInObjectInit>
+ <NewLineForMembersInAnonymousTypes>False</NewLineForMembersInAnonymousTypes>
+ <NewLineForClausesInQuery>False</NewLineForClausesInQuery>
+ <SpacingAfterMethodDeclarationName>False</SpacingAfterMethodDeclarationName>
+ <SpaceWithinMethodDeclarationParenthesis>False</SpaceWithinMethodDeclarationParenthesis>
+ <SpaceBetweenEmptyMethodDeclarationParentheses>False</SpaceBetweenEmptyMethodDeclarationParentheses>
+ <SpaceAfterMethodCallName>False</SpaceAfterMethodCallName>
+ <SpaceWithinMethodCallParentheses>False</SpaceWithinMethodCallParentheses>
+ <SpaceBetweenEmptyMethodCallParentheses>False</SpaceBetweenEmptyMethodCallParentheses>
+ <SpaceAfterControlFlowStatementKeyword>True</SpaceAfterControlFlowStatementKeyword>
+ <SpaceWithinExpressionParentheses>False</SpaceWithinExpressionParentheses>
+ <SpaceWithinCastParentheses>False</SpaceWithinCastParentheses>
+ <SpaceWithinOtherParentheses>False</SpaceWithinOtherParentheses>
+ <SpaceAfterCast>False</SpaceAfterCast>
+ <SpacesIgnoreAroundVariableDeclaration>False</SpacesIgnoreAroundVariableDeclaration>
+ <SpaceBeforeOpenSquareBracket>False</SpaceBeforeOpenSquareBracket>
+ <SpaceBetweenEmptySquareBrackets>False</SpaceBetweenEmptySquareBrackets>
+ <SpaceWithinSquareBrackets>False</SpaceWithinSquareBrackets>
+ <SpaceAfterColonInBaseTypeDeclaration>True</SpaceAfterColonInBaseTypeDeclaration>
+ <SpaceAfterComma>True</SpaceAfterComma>
+ <SpaceAfterDot>False</SpaceAfterDot>
+ <SpaceAfterSemicolonsInForStatement>True</SpaceAfterSemicolonsInForStatement>
+ <SpaceBeforeColonInBaseTypeDeclaration>True</SpaceBeforeColonInBaseTypeDeclaration>
+ <SpaceBeforeComma>False</SpaceBeforeComma>
+ <SpaceBeforeDot>False</SpaceBeforeDot>
+ <SpaceBeforeSemicolonsInForStatement>False</SpaceBeforeSemicolonsInForStatement>
+ <SpacingAroundBinaryOperator>Single</SpacingAroundBinaryOperator>
+ <WrappingPreserveSingleLine>True</WrappingPreserveSingleLine>
+ <WrappingKeepStatementsOnSingleLine>True</WrappingKeepStatementsOnSingleLine>
</CSharpFormattingPolicy> \ No newline at end of file