Type members layout - Insert comments Stefan Göbel Created January 21, 2010 11:45 Hello,is it possible to define the type members layout, so that a comment is inserted above a region, like this:// methods#region methods...#endregionBest regardsStefan
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):
<Entry>
<Match>
<And>
<Access Is="public"/>
<Kind Is="property"/>
<Not>
<Kind Is="indexer"/>
</Not>
</And>
</Match>
<Group Comment="Public propeties"/>
</Entry>
so I get something like:
class Foo {
//Public properties
public int prop1 { get; set; }
//Private properties
private int prop2 { get; set; }
}
etc.
Thanks.