Separate methods/attributes of a class into a new class

Does PyCharm provide a feature to separate selected methods/attributes of a class into a new class?

4 comments
Comment actions Permalink

Hi,

As far as I know, no, there's no such feature. But you may try playing with live templates to see if they can help you:

https://www.jetbrains.com/help/pycharm/using-live-templates.html

0
Comment actions Permalink

Hi Andrey,

thanks for your reference to live templates, but that's not really what I'm looking for.

0
Comment actions Permalink

Well, if you have a use case for that, please feel free to submit a corresponding feature request to our issue tracker using the link https://youtrack.jetbrains.com/issues/PY and let us know if you need any help.

0

Please sign in to leave a comment.