Closed
Description
Refs: #21827
- windows @joyceerhl
- linux @aeschli
- macOS @hbons
Complexity: 3
Requirements
- Install latest pre-release of the python extension
- Have a workspace folder with a python file and a virtual environment named
.venv
Verification
Use-Existing
- Open the python file, ensure that the selected python is the one from pre-existing
.venv
. - Run
Python: Create environment
command from command palette - You show see two options after selecting
venv
. Re-Create and Use Existing. - Select Use existing
- You should see a notification saying the python in
.venv
was selected.
Re-create
- Open the python file, ensure that the selected python is the one from pre-existing
.venv
. - Run
Python: Create environment
command from command palette - You show see two options after selecting
venv
. Re-Create and Use Existing. - Select Re-create
- Continue following the Quicks prompts
- Should delete and create an environment with the same name (
.venv
)
You should be able to see that the environment was deleted in the logs.