Exclude removal of regions?

Code cleanup removes region declarations around private members. I want these to stay. How do I exclude the removal of this in R#?

1 comment

Hello,

Code cleanup removes region declarations around private members. I
want these to stay. How do I exclude the removal of this in R#?


If the regions and their names are based on syntactic code properties, like
"Private Methods Here", then the member reordering pattern should be edited
so that to produce these.

If the regions are semantic, ie their names and locations cannot be told
from code by the machine, then you'll have to disable the member reordering
stage out of the code cleanup process.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.