I'm looking for a .NET Add-in that reads in the contents of the Current Document window, lists the header declaration of all Regions, Subs, Functions, and Module Level Variables, and provides a simple Move Up/Move Down buttons to rearrange their order.
views:
228answers:
3
+2
A:
I haven't yet used it (as I usually just code in the regions myself, or wait until I'm doing other refactoring on an inherited project), but Regionerate looks good.
John Rudy
2008-10-14 15:35:12
Thanks, but Regionerate is not quite what I'm looking for. I really don't use Regions that often, but the tool would have to move Regions as a unit (or even better, allow moving members within a Region). I also do a lot of VB.NET coding and this only supports C#.
Gordon Bell
2008-10-14 15:45:32
Interesting problem to have ... I don't know of any offhand. Might make for a fun experiment with VS add-ons.Odd that Regionerate is C# only; the #region syntax is identical aside from casing and VB requiring quoted strings.
John Rudy
2008-10-14 15:54:39
I use Regionerate, and its very customizable and works pretty good. I think the OP is looking for something that doesn't exist, however.
Will
2008-10-14 18:55:22
+4
A:
I find that the "File Structure Window" provided by the Resharper add-in provides most of the features you are looking for. However, it is part of a comprehensive refactoring add-in and this may not suit you.
Werg38
2008-10-14 17:51:27
You can also use automatic member ordering feature of Code Cleanup, which covers (almost) all features of Regionerate and other plugins and adds more.
Ilya Ryzhenkov
2008-10-14 21:19:58
+1
A:
Here is an automatic member organisation plugin that will work with DXCore. You can also see Mark Miller developing this plugin in dnrTV.