How to disable Blank Lines Formatting options?

I'm trying to configure the Formatting Style used by the Cleanup Code tool.

In the Blank Lines configuration there are options for setting the amount of blank lines between various code elements but I don't see any way to enable or disable a particular setting.

Because Regions are blue neither they nor their associated comments stand out at all amongst the crowd of blue keywords, for this reason we commonly have a two-slash ('//') comment preceeding a region.

If a region has a comment I want the comment to nestle against the region, but I still want a blank line either side of the region and its comment (if any). I don't see any way to enable this configuration, which in itself does not bother me, it's a niche use case so I have no issue with handling that myself. However I would prefer to have all the other blank line formatting applied but don't see any way to disable blank line formatting for regions. In fact, I don't see any way of disabling blank line formatting at all.

What is the best way to achieve my objective please?

Please sign in to leave a comment.