-
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
venv appears reactivated even though it isn't #22825
Comments
Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience! |
Please provide the debug logs which can help diagnose the issue:
Output for
|
It seems the terminal history feature has been completely eliminated, even though it seems it still says "History restored." Not only is the venv name gone when I restart VS Code the working directory is also reset to my home directory. So what history is restored? It's definitely not the command history, which to be honest, would be a nice feature as well. (Btw, I didn't switch to pre-release python version.) @karrtikr |
I switched to Pre-Release. Seems to be working as far as I can tell. Not sure why no history at all was restored on that first restart. |
Nevermind. Seems to be doing it again. |
Hi, I've prepared an extension VSIX containing potential fix: https://github.com/microsoft/vscode-python/actions/runs/7853829284/artifacts/1235350371, please give it a try. You can install the VSIX using If it doesn't work, please provide the debug logs which can help diagnose the issue:
Output for
|
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. |
Seems to be working now. Using 'where python' in the terminal has directories in the correct order. |
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
My guess is this has to do with VS Code attempting to "restore terminal history." I think a user would expect either the environment to be reactivated or it to not appear as though it's reactivated.
The text was updated successfully, but these errors were encountered: