I have written a class with many different methods. I am looking for a plugin which witll arrange the code based on the calls in the main method
For example my general structure might be
{main method (call method b, call method d, call method a)
method a,
method b,
method c,
method d}
I want the plugin to format my source code as
{main method (call method b, call method d, call method a)
method b,
method d,
method a,
method c}
mainmethod has some calls to other methods (on the same class) and the plugin shall arrange the methods in the same order as they are called in the main methods body. I just wonder which scenarios/contexts would benefit from such a formatter. Academic use?