forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
- anyOS @anthonykim1
- anyOS @eleanorjboyd
- anyOS @aeschli
Complexity: 3
Introduction
You are testing the environments extension. This extension is intended to replace the functionality of the python extension, specifically the environment management parts. When installed along side with Python extension, the environments extension will provide the various features that you normally used the python extension for, such as selecting environments, creating, deleting, managing packages etc. The current implement supports virtual environment via venv as a built-in feature.
Requirements:
- Download and install the following, pick the platform specific VSIX from the build artifacts:
- Reload VS Code
Testing:
- Open a python workspace
- Create a
venvenvironment if it does not exist. If it does make sure that it got selected. This view should have the info you need:

- Try running python in the terminal using the run-in-terminal command from the editor run menu
- Try switching environments, see if it is using the right one when you run. Ensure status bar shows the change.
- Since
venvare activated environments, environments view and project view should have an inline command create terminal try it. - Try deleting the
.venvyou created from file explorer, see what happens. (Note: deleting from outside of VS Code might not work because VS Code watcher does not report folder deletions, unless we specifically watch that folder)