Browse Source

Corrected some settings in the allman formatting style.

pull/32/merge
Mike Krüger 13 years ago
parent
commit
db4a4ee299
  1. 7
      ICSharpCode.NRefactory.CSharp/Formatter/FormattingOptionsFactory.cs

7
ICSharpCode.NRefactory.CSharp/Formatter/FormattingOptionsFactory.cs

@ -364,6 +364,13 @@ namespace ICSharpCode.NRefactory.CSharp @@ -364,6 +364,13 @@ namespace ICSharpCode.NRefactory.CSharp
baseOptions.EventRemoveBraceStyle = BraceStyle.NextLine;
baseOptions.StatementBraceStyle = BraceStyle.NextLine;
baseOptions.ArrayInitializerBraceStyle = BraceStyle.NextLine;
baseOptions.CatchNewLinePlacement = NewLinePlacement.NewLine;
baseOptions.ElseNewLinePlacement = NewLinePlacement.NewLine;
baseOptions.FinallyNewLinePlacement = NewLinePlacement.NewLine;
baseOptions.WhileNewLinePlacement = NewLinePlacement.DoNotCare;
baseOptions.ArrayInitializerWrapping = Wrapping.DoNotChange;
return baseOptions;
}

Loading…
Cancel
Save