Configurable comment after class ending brace
Status: Beta
Brought to you by:
jamesnies
I would like to have the ability to have a separate configuration for the closing brace of each class. I imagine this would be similar to the ClosingComments tag that currently exist but a separate tag for classes. Maybe ClosingClassComments as a tag name?
Logged In: YES
user_id=2202623
Originator: YES
Here's code that implements a configurable comment after the end tag for both namespaces and classes.
The configuration for these features uses the tags "ClosingClassComments" and "ClosingNamespaceComments" in the formatting section of the configuration file:
<Formatting>
<ClosingClassComments Enabled="true" Format="class $(Name)" />
<ClosingNamespaceComments Enabled="true" Format="namespace $(Name)"/>
I've enclosed the diff file for the changes based on subversion revision 156.
The same code is also in Bug 2090066.
File Added: config_comment.diff
Code for configurable comment after class and namespace end brace