Remove areas in visual studio
3 answers
There is a claim from James Nish that "NArrange can also be used as a tool to remove regions from source code."
I haven't thought about it until now, but NArrange can also be used as a tool to remove regions from source code.
If you were to define empty element declarations for types, see below, then NArrange will simply parse the members and write them back. This won't parse anything, but rather just rinse the areas and clear the gap between the members.
<Element Type="Type" Id="DefaultType">
<Elements>
<Element>
<Elements />
</Element>
</Elements>
</Element>
However, this will not remove regions that are defined within members.
Source: http://www.codeproject.com/KB/codegen/narrange.aspx?msg=2579903#xx2579903xx
+1
source to share