This is a great little tool, thanks for making it! One thing that irks me, though, is that this extension causes any #region line to be rendered in a smaller font, which I find distracting. How do I turn that off? (I don't want to turn off #region coloring, which I really like -- I just don't want it to make the font smaller.)
Great extension!! I love using this extension!!
My organization recently updated to Visual Studio 2013 and this extension is no longer compatible, are there any plans to update this for Visual Studio 2013?
I am completely the opposite of you. I love Regions as they are the cure for spaghetti code.
My product, Regionizer, available at http://regionizer.codeplex.com formats C# code files into regions for private variables, methods, events and properties.
The events, methods and properties are all alphabetically sorted so you no matter the coding style of anyone on your team, the documents are all formatted the same way.
I can't stand code that ins't formatted using Regionizer, so to each their own, but if you like regions, you will like Regionizer.
The only thing I could not figure out was how to expand and collapse all regions using the DTE, if you know of a way please tell me.
I would like you to compare my source code to yours and you tell me if you like your style better after using Regionzer.
Download Rad Studio Code Generation Toolkit (http://radstudio.codeplex.com) to see a sample of code formatted using Regionizer.
Data Juggler Software
This will be done soon. In the meantime, you can try the suggestion below (using vs12), it worked for 2012 but haven't tried it for 2013:
AlbertWeinert - Download the vsix file, change the manifest and add vs11, also change .net framework max to 4.5. Install over the "new" vsix. Works.
Hi I like your extension very much. I only miss a shortcut. When I open a class or when I have opened a lot of methods I want to organize my code again. I then hit Ctrl M + Ctrl O. The only thing that I hate then is that the regions are also closed. Can you make a shortcut that does the same thing as Ctrl M + Ctrl O but expands the regions.
I nearly crapped in my pants when I saw this. Great job! If only I could convince everyone else on my team that regions are a code smell. If the file is so big it needs organization, then break up the functionality.
Now that you tackled regions, how about XML comments on functions? I just want to see code! Again, great extension.
Hi, it is a great extension indeed, but i need exactly opposite functionality - I want to automatically collapse everything in the file on open. For instance, when I hit Ctrl+T (Resharper, navigate to type) and select some type a file with that class definition is opened and everything in that file should be collapsed except the "class MyClass" node.
How can I achieve this?
Hiya, that behavior is exactly what this extension is trying to prevent, haha. So you won't be able to do it with this one, but maybe there is another tool that will help? You could also write your own extension, all of the functionality is included in the Visual Studio 2010/2012 SDK APIs.