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 s
If I understand you correctly, I think there's a GSOC project for Code Recommenders to do exactly that; see this bug and this blog post. You might be able to get some clues from there.