There is nothing built-in to Visual Studio which will allow you to collapse code regions in this fashion. It might be possible with a macro, but I don't think it would be very simple to write. Visual Studio 2010 might provide some relief by allowing you to write an actual plug-in that has more direct accessibility in to the syntax parser, but that is pure speculation at this point.
A:
Scott Dorman
2009-08-10 03:14:00
+1
A:
Maybe this link will help you: http://weblogs.asp.net/mrdave/archive/2004/09/17/230732.aspx . You can wrap everything in regions so that you could manage it and keep comments unwrapped. Also you can modify that macro to fit your needs.
Yaroslav Yakovlev
2009-08-10 11:32:54
A:
Ctrl M, Ctrl O
Collapses to definitions.
From this point a macro might not be too hard to write.
Something like find /// <summary> ...
and toggle outlining. Then lather, rinse, repeat.
Best of luck,
Dan
Daniel Elliott
2009-08-13 07:34:48
Could you provide sample code? I don't know how to write macros and barely find anything regarding my problem online.
Alex
2009-08-18 03:10:39