I have lengthy functions in VB.NET (VS2008) and I’d like to shrink them down. I know about the #region directives, but they don’t work inside functions.
I was wondering if anyone knew of any plugins for visual studio 2008 that would allow me to fold if statements, loops and try catch statements. I’ve found a couple of plugins for Visual Studio 2005 but none for Visual Studio 2008.
Ok so i finally found a tool to fold code inside subs and functions. it’s not ideal as you have to specify the regions to be folded but it joes the job.
the piece of software is called smartoutline. once you get past the broken installer.
http://submain.com/products/smartoutline.aspx
the installer has some issues with admin privileges, so to install it you need to create a shortcut to windows installer specifying the msi as a parameter and then run it as administrator