MyDeveloperDay added a comment.

In my C# project, these settings give me just what we tend to use.

  BreakBeforeBraces: Custom
  BraceWrapping:
    AfterFunction: true
    AfterCSharpProperty: true
  AllowShortCSharpPropertiesOnASingleLine: false
  AlwaysBreakBetweenShortCSharpProperties: false

for AutoProperties

  public int min_value
  {
      get; set;
  }

but for formal properties,

  public int Margin
  {
      get
      {
          return this.value> 0? 10 : 0;
      }
  }

although I like the idea of being able to change this to this with 
`AfterCSharpProperty: false`

  public int Margin
  {
      get {
          return this.value> 0? 10 : 0;
      }
  }




CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148467/new/

https://reviews.llvm.org/D148467

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to