Extract method to helper class.

Issue #1326 resolved
Justin Julicher created an issue

when you have a instance method that doesn’t have any reference to instance variables it would be good to have an option to extract to existing helper class or to a new class.

Does that make sense? Let me know if you need further clarification.


Comments (3)

  1. Scott Wells repo owner

    What you're saying makes sense. It will likely materialize via the move refactoring so that it will be two steps: 1) extract static method (no access to members); 2) move static method to helper class. That's exactly how it would be done in JetBrains' Java IDE as it doesn't allow you to extract a method directly into another class.

  2. Log in to comment