Skip to content

Instantly share code, notes, and snippets.

@Mailaender
Last active December 27, 2015 06:29
Show Gist options
  • Save Mailaender/7281982 to your computer and use it in GitHub Desktop.
Save Mailaender/7281982 to your computer and use it in GitHub Desktop.
MonoDevelop code formatting guidelines for OpenRA
<?xml version="1.0" encoding="utf-8"?>
<PolicySet name="OpenRA">
<StandardHeader>
<Text>#region Copyright &amp; License Information
/*
* Copyright 2007-${Year} The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COPYING.
*/
#endregion</Text>
<IncludeInNewFiles>True</IncludeInNewFiles>
</StandardHeader>
<TextStylePolicy inheritsSet="Mono" inheritsScope="text/plain" scope="application/xml" />
<XmlFormattingPolicy inheritsSet="Mono" inheritsScope="application/xml" scope="application/xml" />
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/plain">
<TabsToSpaces>False</TabsToSpaces>
<NoTabsAfterNonTabs>True</NoTabsAfterNonTabs>
</TextStylePolicy>
<TextStylePolicy inheritsSet="VisualStudio" inheritsScope="text/plain" scope="text/x-csharp">
<TabsToSpaces>False</TabsToSpaces>
<NoTabsAfterNonTabs>True</NoTabsAfterNonTabs>
</TextStylePolicy>
<CSharpFormattingPolicy inheritsSet="Mono" inheritsScope="text/x-csharp" scope="text/x-csharp">
<IndentSwitchBody>True</IndentSwitchBody>
<AnonymousMethodBraceStyle>NextLine</AnonymousMethodBraceStyle>
<PropertyBraceStyle>NextLine</PropertyBraceStyle>
<PropertyGetBraceStyle>NextLine</PropertyGetBraceStyle>
<PropertySetBraceStyle>NextLine</PropertySetBraceStyle>
<EventBraceStyle>NextLine</EventBraceStyle>
<EventAddBraceStyle>NextLine</EventAddBraceStyle>
<EventRemoveBraceStyle>NextLine</EventRemoveBraceStyle>
<StatementBraceStyle>NextLine</StatementBraceStyle>
<ArrayInitializerBraceStyle>NextLine</ArrayInitializerBraceStyle>
<BeforeMethodDeclarationParentheses>False</BeforeMethodDeclarationParentheses>
<BeforeMethodCallParentheses>False</BeforeMethodCallParentheses>
<BeforeConstructorDeclarationParentheses>False</BeforeConstructorDeclarationParentheses>
<BeforeDelegateDeclarationParentheses>False</BeforeDelegateDeclarationParentheses>
<NewParentheses>False</NewParentheses>
</CSharpFormattingPolicy>
</PolicySet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment