Skip to content

Instantly share code, notes, and snippets.

@kylewlacy
Created March 16, 2013 20:39
Show Gist options
  • Save kylewlacy/5178230 to your computer and use it in GitHub Desktop.
Save kylewlacy/5178230 to your computer and use it in GitHub Desktop.
Good code formatting for Xamarin Studio (which is secretly just MonoDevelop in disguise)
<?xml version="1.0" encoding="utf-8"?>
<PolicySet name="TwilightSparkle.mdpolicy">
<TextStylePolicy inheritsSet="null" scope="text/x-csharp" />
<CSharpFormattingPolicy inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp">
<AlignEmbeddedUsingStatements>False</AlignEmbeddedUsingStatements>
<AlignEmbeddedIfStatements>False</AlignEmbeddedIfStatements>
<NamespaceBraceStyle>EndOfLine</NamespaceBraceStyle>
<ClassBraceStyle>EndOfLine</ClassBraceStyle>
<InterfaceBraceStyle>EndOfLine</InterfaceBraceStyle>
<StructBraceStyle>EndOfLine</StructBraceStyle>
<EnumBraceStyle>EndOfLine</EnumBraceStyle>
<MethodBraceStyle>EndOfLine</MethodBraceStyle>
<ConstructorBraceStyle>EndOfLine</ConstructorBraceStyle>
<DestructorBraceStyle>EndOfLine</DestructorBraceStyle>
<ElseIfNewLinePlacement>SameLine</ElseIfNewLinePlacement>
<BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses>
<BeforeMethodCallParentheses>False</BeforeMethodCallParentheses>
<BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses>
<BeforeIndexerDeclarationBracket>False</BeforeIndexerDeclarationBracket>
<BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses>
<AfterDelegateDeclarationParameterComma>True</AfterDelegateDeclarationParameterComma>
<NewParentheses>False</NewParentheses>
<IfParentheses>False</IfParentheses>
<WhileParentheses>False</WhileParentheses>
<ForParentheses>False</ForParentheses>
<ForeachParentheses>False</ForeachParentheses>
<CatchParentheses>False</CatchParentheses>
<SwitchParentheses>False</SwitchParentheses>
<LockParentheses>False</LockParentheses>
<UsingParentheses>False</UsingParentheses>
<SpacesBeforeBrackets>False</SpacesBeforeBrackets>
</CSharpFormattingPolicy>
<StandardHeader>
<Text />
<IncludeInNewFiles>True</IncludeInNewFiles>
</StandardHeader>
<VersionControlPolicy inheritsSet="Mono" />
</PolicySet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment