Type members layout - Insert comments


is it possible to define the type members layout, so that a comment is inserted above a region, like this:

// methods

#region methods



Best regards

1 comment
Comment actions Permalink

Somewhat related to this topic.

I would think that an option using comments instead of region would be a nice addition.
For example if I want to "separate" public/private properties without using regions, it would be nice to be able to do something like below (in the Group node):

<Access Is="public"/>
<Kind Is="property"/>
<Kind Is="indexer"/>
   <Group Comment="Public propeties"/>

so I get something like:
class Foo {
  //Public properties
  public int prop1 { get; set; }
  //Private properties
  private int prop2 { get; set; }



Please sign in to leave a comment.