How to order private methods by 'usages' when rearranging?

So, for example I have the code

public void Test () {

MyPrivate2();

}

 

public void Test1 () {

MyPrivate1();

}

 

private void MyPrivate1 () { }

private void MyPrivate2 () {}

 

After rearranging I want to see

 

public void Test () {

MyPrivate2();

}

 

public void Test1 () {

MyPrivate1();

}

 

private void MyPrivate2 () {}

private void MyPrivate1 () {}

 

Because of MyPrivate2 method was used earlier then MyPrivate1 method

 

1 comment
Comment actions Permalink

Hello, Artem Yurchenko

This is not possible. However, we have a corresponding feature request for this: RSRP-467791. Feel free to follow it and upvote. 

Should you have any other questions, let us know. Have a nice day! 

0

Please sign in to leave a comment.