Refactor-Move not update import statements


I am currently using PyCharm Community, and I wanted to move a function from the main file into an "include" file. I hilighted the code, chose Refactor->Move, changed the To: filename to a new name, and I picked another function as well (since it shows a list, why not?). That part worked fine.

But the import statements were not modified at all. The doc I saw was for V2020.2, at I am running 2019.3.1, was that import statement modification added between those releases? If not, this is a bug report ;^)



1 comment
Comment actions Permalink

Hi Paul,

Please file a bug to our issue tracker and provide files and steps for reproducing this problem.


Please sign in to leave a comment.