-
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
Prompt users if they already have a .venv #19894
Comments
@karthiknadig Try using vscode-python/src/client/interpreter/configuration/interpreterSelector/commands/setInterpreter.ts Line 138 in 870ae8f
|
We should probably mention in the prompt and the logs that we just selected the existing |
Temporary resolution here is that we auto-select the existing environment for now, as the intended users of this command are beginners. This is done. If we see that people are getting confused by auto-selection, we can provide bit more clarification. For For issues mentioned by @karrtikr I have created separate bugs. |
Closes microsoft#19889 Closes microsoft#19890 Closes microsoft#19891 Closes microsoft#19894 Closes microsoft#19897 Closes microsoft#19852 Closes microsoft#19851 Closes microsoft#19838 Closes microsoft#19916 Closes microsoft#19917
Closes microsoft/vscode-python#19889 Closes microsoft/vscode-python#19890 Closes microsoft/vscode-python#19891 Closes microsoft/vscode-python#19894 Closes microsoft/vscode-python#19897 Closes microsoft/vscode-python#19852 Closes microsoft/vscode-python#19851 Closes microsoft/vscode-python#19838 Closes microsoft/vscode-python#19916 Closes microsoft/vscode-python#19917
Testing #19883
I already have a .venv in my project. I was curious what would happen if I went through the
Python: Create Environment
steps again. I can't tell if anything happened. Should we prompt users if they already have a .venv, allowing them to choose to override it or back out of creating a new .venv and just use the existing one? The Dev Containers extension works similarly: if a user chooses the command to add a dev container config and they already have one, they're asked if they'd like to override or just use the existing one.The text was updated successfully, but these errors were encountered: