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

python.envFile need to restart/reload vscode to take effect #12424

Closed
zlcnup opened this issue Jun 18, 2020 · 2 comments
Closed

python.envFile need to restart/reload vscode to take effect #12424

zlcnup opened this issue Jun 18, 2020 · 2 comments
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality

Comments

@zlcnup
Copy link

zlcnup commented Jun 18, 2020

Environment data

  • VS Code version: 1.46.0
  • Extension version (available under the Extensions sidebar): v2020.6.88468
  • OS and version: Windows_NT x64 10.0.18363
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info How to update the language server to the latest stable version #3977): both

Expected behavior

I set PYTHONPATH in the python.envFile for autocomplete. I hoped the PYTHONPATH can take effect immediately when I changed the PYTHONPATH.

Actual behavior

I need to restart or reload vscode for autocomplete to take effect after modifying the PYTHONPATH.

@zlcnup zlcnup added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jun 18, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jun 18, 2020
@karthiknadig karthiknadig added feature-request Request for new features or functionality and removed bug Issue identified by VS Code Team member as probable bug labels Jun 18, 2020
@karthiknadig
Copy link
Member

This will be an enhancement. We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

@luabud luabud added the area-environments Features relating to handling interpreter environments label Aug 12, 2020
@luabud
Copy link
Member

luabud commented Aug 12, 2020

Thanks for the suggestion! We talked about it with the team and we have unfortunately decided we will not be moving forward with this idea. We think there isn't an enough widespread need for this to warrant the maintenance cost for the feature. However, we will consider this scenario when addressing #6544.

@luabud luabud closed this as completed Aug 12, 2020
@ghost ghost removed the needs decision label Aug 12, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants