XArrange 2012

Free

Arranges C# code. Groups members, properties, methods and sort them.

(6) Review
Visual Studio
2012
Download (1,437)
1/20/2014
2.4
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (6)
Q and A (7)
Sign in to write a review
Sort by:

by Önder Yaşarol | January 22 2014

by Lance Larsen | February 08 2013

The author of this extension is very responsive and has done a great job responding and implementing requested features!

If you're as picky as I am about code layout and organization - then this could be a great addition to your development toolbelt!

Very very nice, keep up the great work. :)

by Vbgraphix | January 23 2013

Works as expected, does what it is supposed to do, and doesn't get in your way.

by Huseyn85 | December 31 2012

by Selcuk Sasoglu | December 31 2012

by celljuke | December 31 2012

Sign in to start a discussion


  • Some Error
    4 Posts | Last post February 27, 2014
    • Hi Dogu,
      first of all - great work!!!
      But I discovered some strange Issue. If you try to XArrange the following class you end with the three using lines without any code.
      
      using System;
      using System.Diagnostics;
      using System.Windows.Input;
      
      public class RelayCommand : ICommand
      {
          private readonly Action<object> executeAction;
          private readonly Predicate<object> canExecutePredicate;
      
          public RelayCommand(Action<object> execute)
              : this(execute, null)
          {
          }
      
          private RelayCommand(Action<object> execute, Predicate<object> canExecute)
          {
              if (execute == null) throw new ArgumentNullException("execute");
      
              executeAction = execute;
              canExecutePredicate = canExecute;
          }
      
          [DebuggerStepThrough]
          public bool CanExecute(object parameter)
          {
              return canExecutePredicate == null ? true : canExecutePredicate(parameter);
          }
      
          public event EventHandler CanExecuteChanged
          {
              add { CommandManager.RequerySuggested += value; }
              remove { CommandManager.RequerySuggested -= value; }
          }
      
          public void Execute(object parameter)
          {
              executeAction(parameter);
          }
      }
      
    • Hi AndyPatock, I will check it asap. thank you for your feedback.
    • It has no "namespace a.b.c { ... }" that's why it behaves as such a strange way...
    • Hi Andy. I fixed the issue on 2013 version. You might be able to install it on your VS2012. I'll fix it on 2012 version soon. thank you.
  • does not recognize and group Events
    2 Posts | Last post February 05, 2014
    • Dear XArrange Developer --
      
      Please help.
      
      I like your extension XArrange but I think I found a bug.
      
      I am working in C#, in VS 2012, in a Windows Forms app.
      
      It seems to me that XArrange does not recognize and group Events.
      
      For example, XArrange does not recognize the event handler "private void frmMain_Load(object sender, EventArgs e)" and simply group it with Methods.
      
      Is there a way to get this to work?
      
      Please advise.
      
      Also, to make it better, it could use a feature to "Allow [one] to order the order of the regions" and it could use a feature to "Group methods in more logical groups", as mentioned by another poster. 
      
      Regardless, the extension is great as-is.
      
      Thanks.
      
      -- Mark Kamoski
    • Hi mark, I'll try to find a way for it..
  • VS 2013 version in the near future?
    3 Posts | Last post January 20, 2014
    • The extension is perfect for my needs, I used the 2010 version a lot.
      
      Any plans to release this extension for VS2013 as well? Would love to continue using it!
    • Thank you for your question Thomas, ASAP...
    • Sorry for delay, you can download VS2013 version from http://visualstudiogallery.msdn.microsoft.com/2a38f32f-1285-4e79-bda5-b1873ba7536b 
  • VB.NET
    1 Posts | Last post May 29, 2013
    • Hi,
      
      Could VB.NET be added please?
  • Extra lines
    1 Posts | Last post March 04, 2013
    • There's always an empty line before the class - why?
      
      http://screencast.com/t/5GGZxOqVI
      
      Also can you make it it won't lose your current editing scroll, position and location?
  • More little features please
    1 Posts | Last post February 25, 2013
    • 1. Allow to order the order of the regions i.e. Fields, Properties etc.
      2. Group methods in more logical groups i.e.
      Private Methods
      Virtual/Override Methods
      Public Methods
      Static Methods
      Make this configurable (a dropdown with some combinations of the above)
      3. Same for properties / events
      4. Allow inhertiance line to be on a separate line i.e
      public class User
         : IUser
      {
      ...
      }
      
      rather than 
      public class User : IUser
      
      b/c sometime you have a lot of interfaces and it's hard to read on the upper line.
      #5 Move your settings menu item from the context menu to Tools->options-> add an entry there either with your current form or with a button that will open the new form
      
      Other than that, all great!
      
  • Features
    1 Posts | Last post January 23, 2013
    • Thanks for this awesome extension!
      
      1. Is it possible to have a $Count$ parameter?
      
      2. Is it possible to allow us to re-arrange the order of the regions?
      
      3. Could all the settings be exportable to a solution file?
      
      4. Is it possible to add "Between Regions" and "Within Regions" options to the Spaces tab?