For Visual Studio 2013 you can download from here This tool helps you to arrange your C# code. Groups members, properties and methods and sort them. Please check your code for any mistake after arrangement. When you open a C# code, right click on code window, the following menu list will appear. XArrange menu item will arrange your C# code. You can Undo changes as usual way in VS. To check and change the settings, choose XArrange Settings menu item. The following window will appears; First tab for setting spaces between items. Second tab is for setting titles of the regions. When you press Run button, your code will be arranged immediately.
Ok button will accepts and saves the changes.
You can contact using dogu.tumerdem@gmail.com.
1.1 Inner class, structs and interfaces will be arranged as well. (thanks Ezequiel Calderara) 1.2 Spaces between Functions, Variables, Methods and Usings can vary. 2.0 Generic class definition where part fixed, Visual Studio 2012 compatible. 2.1 Constructors in separate regions. Region titles are customizable. 2.3 (thanks Lance Larsen) Bug Fix : Using in namespaces handled. Change Request : Spacing option added between region titles and its contained items. Bug Fix : Import region title added to settings page. Bug Fix : Space between usings and code were always 2 lines. It fixed as it takes this space from "Space Between Groups" option. 2.4 (Thanks Scott Jones) Bug Fix: Dublication of member variables when defined like "int a,b" Bug Fix: For variables region group, the name of enums region group used. (Thanks Natan Vivo) Change Request: Region for imports is optional now. Bug Fix: Useless space between "namespace Test {" and its first element. Bug Fix: Some other useless new line bugs fixed. 2.5 Change: Support for Visual Studio 2013 2.6 Menu items disapeared. 2.7 Classes, Structs, Interafaces and Enum that are not contained by a namespace were disapearing. Not a good practice but an issue. 2.8 Bug#10 Product Backlog Item #11 Product Backlog Item #12 Bug #13 2.9 Visual Studio 2015 Support |