Want to move a function to a separate file?
You can use the Move function quick fix (Alt-Enter) that creates a new file named after this function.
Or use the Move... refactoring if you want to select a different target file. #WebStormTippic.twitter.com/mFjKICaj30
-
-
What's your use case for moving class methods? Do you want to extract it from the class and then move to a separate file? Or do you want to move it to the superclass? If the latter, then you can use the Pull Members Up refactoring.
-
Typically that would be required while extracting common logic onto a new file such as a service or similar
- 2 more replies
New conversation -
-
-
Feature request
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.