does anyone know a way to sort the functions of a class in the editor (c#) alphabetically? i.e.
public class Foo
{
public void B() {...}
public void D() {...}
public void A() {...}
}
After sorting the class should look like
public class Foo
{
public void A() {...}
public void B() {...}
public void D() {...}
}
Create this macro.
Select the text to sort, and run the macro.
Did you try codemaid? Is open source. There are others like ReSharper that are really good too.
MZ-Tools addin can do this.
You can check the Open Source project NArrange, it can sort the using statements as well as all the members and classes in your files, and much more.
http://www.narrange.net/
The latest version is from 2009-12-05, so the project may not evolve any more, but it looks stable enough already.