-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Autocomplete fails with paths listed in PYTHONPATH via .env file #316
Comments
Please could you provide a sample (sample repo). |
Here is an example repo: https://github.com/xgalaxy/python_test I created a In my opinion I think the extra paths and .env system needs an overhaul. I shouldn't have to list the same paths in multiple places to get a complete functioning development environment. I would remove the .env file completely and rename |
Thanks for the sample repo.
Agreed, this will be resolved with the issue #228. Just confirming, this issue would get resolved along with #228. All you'll need to do is add the settings in |
I'm closing this as it has been over a month since we requested more info. If we do get the info at a later date we can re-open this issue. |
Refactor how environment variables are parsed and used in tools, language server and debugger Fixes #316 (PYTHONPATH not used as extra path for auto complete) Fixes #183 (changes to .env file requires restarts of vscode) Fixes #436 (Path variables not inherited when debugging) Fixes #435 (Virtual environment name is same as the default environment file)
Not sure what more info you needed. An example repo was requested and provided. |
@xgalaxy if you look at the last message from @DonJayamanne he asked you to test something out to verify if something would fix your issue. |
No, adding those paths to env won't work. As is stated in the original ticket comments and the very title of this ticket. Am I misunderstanding something here? |
We have released a new version of the extension since you first reported this so we wanted you to validate for us whether the issue persisted for you as we think we fixed it. |
Environment data
VS Code version:
Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:23:26.125Z)
Python Extension version:
0.8.0
Python Version:
Python 2.7.14 :: Anaconda, Inc.
OS and version:
Darwin x64 16.7.0
Actual behavior
Auto complete does not work properly with additional packages listed in
PYTHONPATH
added via the.env
file.Expected behavior
Auto complete will list documentation, methods, functions, etc. from packages listed in
PYTHONPATH
.Steps to reproduce:
PYTHONPATH
via the workspace.env
fileThe text was updated successfully, but these errors were encountered: