Refs: #21827 - [x] windows @joyceerhl - [x] linux @aeschli - [x] macOS @hbons Complexity: 3 [Create Issue](https://github.com/microsoft/vscode-python/issues/new?body=Testing+%2321878%0A%0A&assignees=karthiknadig) --- ### Requirements 1. Install latest pre-release of the python extension 2. Have a workspace folder with a python file and a virtual environment named `.venv` ### Verification #### Use-Existing 1. Open the python file, ensure that the selected python is the one from pre-existing `.venv`. 2. Run `Python: Create environment` command from command palette 3. You show see two options after selecting `venv`. Re-Create and Use Existing. 4. Select Use existing 5. You should see a notification saying the python in `.venv` was selected. #### Re-create 1. Open the python file, ensure that the selected python is the one from pre-existing `.venv`. 2. Run `Python: Create environment` command from command palette 3. You show see two options after selecting `venv`. Re-Create and Use Existing. 4. Select Re-create 5. Continue following the Quicks prompts 6. 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.
Activity
hbons commentedon Aug 29, 2023
I can verifiy both flows work. I used
python3 -m venv .venvto create the environment in side thepython-testfolder.