Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup base pythonpath for python import helper in vscode. #30

Open
Eric2Hamel opened this issue Sep 1, 2021 · 0 comments
Open

Setup base pythonpath for python import helper in vscode. #30

Eric2Hamel opened this issue Sep 1, 2021 · 0 comments

Comments

@Eric2Hamel
Copy link

Eric2Hamel commented Sep 1, 2021

The python import helper is really useful to save time importing libraries. However, I did find some problems with importing modules in the current library. Especially if the pythonpath is not at the root of the workspace.

For example, I will like to have:
from mylib.foo import Foo
but got:
from src.mylib.foo import Foo

I did not see any way to configure the extension. Could there be a way to remove it by providing a base python path?

Thank you very much,
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant