vscode-importmagic icon indicating copy to clipboard operation
vscode-importmagic copied to clipboard

Allow imports using absolute paths

Open HitLuca opened this issue 5 years ago • 3 comments

importmagic does a great work in importing my modules, but in my current setup, imports need to be absolute. Can we have a way to set importmagic to import using absolute paths, maybe via settings config?

My issue arises from the fact that I am developing a local python package along with a project using it. If my imports are relative, the project using the package will not be able to run the tests. Changing them to absolute fixes the issue, requiring me to append the root module every time after using your plugin!

HitLuca avatar Oct 18 '19 20:10 HitLuca

Suffering from the same issue, this would be great to have

liamgens avatar Oct 25 '19 17:10 liamgens

Any feedback on this?

HitLuca avatar Oct 29 '19 21:10 HitLuca

same here, would like this feature as well

sepharg avatar Dec 16 '19 15:12 sepharg