PY-14617 Update references to modules imported via relative imports inside the moved module

Current solution is very crude, because we can't use standard IDE
facilities to find usages of the import element in the a file, once
that file was moved. And exactly that API MoveFileHandler offers to us.
This commit is contained in:
Mikhail Golubev
2015-06-17 13:56:48 +03:00
parent 8166fab58b
commit 566faf4602
13 changed files with 39 additions and 1 deletions
@@ -0,0 +1,5 @@
import pkg.m2
import pkg.subpkg.m3
print(pkg.m2, pkg.subpkg.m3.VAR)
@@ -0,0 +1,5 @@
import m2
import subpkg.m3
print(m2, subpkg.m3.VAR)