"Move" refactoring in IntelliJ doesn't works with input

Viewed 107

I am using Python plugin to handle Python code inside an IntelliJ Java project.

I have selected refactoring "Move -> move everything to another directory..." but it doesn't update the imports!

Example, I have:

import my_server.my_project.helpers.cumulative_functions as cf

That instead should be now

import my_project.helpers.cumulative_functions as cf

Have I done something wrong? Is there a way to fix that?

1 Answers

This is common in PyCharm and IntelliJ

The problem here is working directory and run/debug config

Even when you move files, wd stays the same

It is a confirmed bug, but it's not still fixed

You can vote for it to be fixed faster

Related