Comment by galaxyLogic
5 months ago
The thing I would like automated is highlighting a function in my code then ask the AI to move it to a new module-file and import that new module.
I would like this to happen easily like hitting a menu or button without having to write an elaborate "prompt" every time.
Is this possible?
I think most language servers have a feature like this right?
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
2 replies →