~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/CSharpBinding/MonoDevelop.CSharp.Formatting/CSharpFormattingPolicy.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-07-05 13:00:05 UTC
  • mfrom: (1.2.8 upstream) (1.3.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100705130005-d6hp4k5gcn1xkj8c
Tags: 2.4+dfsg-1ubuntu1
* debian/patches/remove_support_for_moonlight.patch,
  debian/patches/dont_add_moonlight_to_core_addins.patch,
  debian/control:
  + Enable support for Moonlight
* debian/rules:
  + Ensure Moonlight addin isn't shipped in main MonoDevelop package by
    mistake

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<CodeStyle version="1.0" mimeType="text/x-csharp">
2
2
 
3
3
        <Type name = "BraceStyle">
 
4
                <Value _displayName="Do not change">DoNotChange</Value>
4
5
                <Value _displayName="End of line">EndOfLine</Value>
5
6
                <Value _displayName="End of line without space">EndOfLineWithoutSpace</Value>
6
7
                <Value _displayName="Next line">NextLine</Value>
306
307
        }
307
308
]]></Example>
308
309
 
309
 
        <Example name="simpleArrayInitializer"><![CDATA[
 
310
        m<Example name="simpleArrayInitializer"><![CDATA[
310
311
class ClassDeclaration { 
311
312
                public void Test (object o)
312
313
                {
445
446
        </Category>
446
447
        
447
448
        <Category _displayName="New Lines">
 
449
<!--            <OptionCategory _displayName="Allow one line embedded statements">
 
450
                        <Option name="AllowIfBlockInline" _displayName="'if'"><Example><![CDATA[
 
451
class ClassDeclaration { 
 
452
                public void Test ()
 
453
                {
 
454
                        if (true) { Console.WriteLine ("Hello World!"); }
 
455
                        if (true) Console.WriteLine ("Hello World!");
 
456
                        if (true) { Foo (); Bar (); }
 
457
                }
 
458
        }
 
459
]]></Example></Option>
 
460
                </OptionCategory>-->
 
461
        
448
462
                <Category _displayName="Place on new line">
449
463
                        <Option name="PlaceElseOnNewLine" _displayName="'else'" example="simpleIf"/>
450
464
                        <Option name="PlaceElseIfOnNewLine" _displayName="'else if'" example="simpleIf"/>
527
541
class ClassDeclaration { 
528
542
                public void Test ()
529
543
                {
530
 
                        int i =  checked(5 + 3);
 
544
                        int i = checked(5 + 3);
531
545
                        fixed (int* p1 = &i) {
532
546
                                *p1 = 5;
533
547
                        }