How to sort member functions with a class
I like to see member functions within a class alphabetically sorted. For example:
pubic class MyClass{
public void MethodB(){
}
public void MethodA(){
}
}
should get converted to
pubic class MyClass{
public void MethodA(){
}
public void MethodB(){
}
}
I'd like this to happen when I run "Cleanup Code". How can I do this?
Please sign in to leave a comment.
Hello Imranh!
Sorry for delay in responding.
There's R# File Layout feature that provides option of sorting type members, please refer to the following help aritcle - https://www.jetbrains.com/help/resharper/File_and_Type_Layout.html
Please feel free to contact us in case of any questions.
Thank you.