mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
intention actions to switch between absolute and relative imports (PY-37858)
GitOrigin-RevId: 8c3c1caeba64ff678c8f1dafdd0fc9a44af3873e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fccb01ec87
commit
adbbcef28a
@@ -0,0 +1 @@
|
||||
from <spot>.three</spot> import foo
|
||||
@@ -0,0 +1 @@
|
||||
from <spot>one.two.three</spot> import foo
|
||||
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<span>
|
||||
This intention replaces absolute <code>from</code> import with a relative one.
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
from <spot>one.two.three</spot> import foo
|
||||
@@ -0,0 +1 @@
|
||||
from <spot>.three</spot> import foo
|
||||
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<span>
|
||||
This intention replaces relative <code>from</code> import with an absolute one.
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user