Hacker News new | past | comments | ask | show | jobs | submit login

Moving a function or class? Yes. But moving arbitrary lines of code into their own function in a new module is still a PITA, particularly when the lines of code are not consecutive.



So is moving a function or class possible? What actions you need to take to accomplish that? Thanks


This is supported natively by most IDEs today.


At least Pycharm is good at it.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: