CodeSorter

Free

This extension allows user to sort methods and other elements in code by various conditions: name, type (field, method, class, enum, ...), modifiers (private, public, virtual, static, const, ...)

(11) Review
Visual Studio
2010
Download (3,082)
8/25/2011
1.3.73
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
C#, sort
Description
Reviews (11)
Q and A
Sign in to Write a Review
Sort By:

by Ricker Silva | October 18 2012

Great tool , I relly need it. I just want to ask a little thing.

Is it posible to set codesorter not to order regions in the file? sometimes I have a region for members, then constructors region, then events and then methods. and the sorter kinda shuffles this orders which i not alphabetical but logical.

Is it possible? if not, can you add this "Do not sort regions" option?

Thanks a lot. I now find mymethods as fast as possible.

Ricker

Teh Markos October 20 2012
| Edit |
Delete

Thank you for your positive review.

If I understand you correctly, some tool (e.g. Resharper) is generating regions for you automatically and you want to keep all regions in the original order?

That currently is not possible, but I might add some checkboxes to options if I have a spare time.

by Amir2533 | April 25 2012

I've downloaded and installed version 1.3 on VS2010 for C# environment. It worked fine without source code corruption or other problems then complied my app perfectly... Thanks Markos!

by Dmitry.Khimoroda | January 16 2012

This is exactly the tool I've been looking for, but... it didn't work. It resulted in totally corrupted source files. When the developer needs samples of corrupted sources - I can send them. Just send me a message.
The idea is great, time to time I badly need this function...

by Odai Kurd | July 28 2011

Crash and code lost!!!!

by Static Shock | June 21 2011

I applaud the effort and having such a tool would be quite useful. Unfortunately, running this did not leave my code in an equivalent state of correctness. It removed the ‘///’ from the first <summary> comment tag, indented my local class variables to the far left margin. It also indented all the ‘/// <summary>’ and ‘/// </summary>’ tags to the far left, but left the content properly indented. I stopped looking after that, didn’t even check the reordering. If the author is inclined this project might benefit from a source release on one of the project sites (like codeplex) where more eyes (and hands) can help.

by Neudesic | June 21 2011

Good idea and useful when it is working.
It will often remove class name while sorting. Also issues with classess over 100 lines of code.

by Jason Evans | June 04 2011

Really nice addin, though I do get the occasional VS 2010 crash whilst using it.

One suggestion would be to make the Code Sorter Option a lot more user friendly. For example, when I want to remove items from the left pane in the options (Visibility Order for example), I'm unable to do so. I can add items from the "Available" pane on the right, but once in the "View" pane, they are stuck there. I choose an item to remove, then click "Remove", but they stay there. Also, at other times, when I click an item to remove from the "View" pane, the remove button stays disabled.

If you can sort out the options window and the crashes, I think you have one really nice addin for clean code.

Cheers.
Jas.

by jbeckhoff71 | June 03 2011

by Micromirko | May 11 2011

Nice tool, but killing some code lines following the namespace, i.e. if there are n empty lines after the namespace and the first nonempty line is intended, the first n lines are skipped.
Having multiple Classes, Enums etc causes the same problem.

by Qwetek | May 06 2011

No crashes, much faster then other plugins or macros for sorting. Verry nice and rich settings. It doesnt damage your code. Much apritiated Markos.

by Fabrice Durieu | April 26 2011

Directly removed as it crash visual studio

Sign in to Start a Discussion


Be the first to create a discussion.