forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Milestone
Description
Refs: #18357
- anyOS: @karthiknadig
- anyOS: @rchiodo
Complexity: 4
Requirements
- Make sure Conda is installed. Tagging everyone on the team as we already have a bunch of environments available, and it may take a significant time for other folks to install stuff.
- Use pre release build of the python extension.
Step 1: Test discovery
- Activate Python extension
- Create two conda environments like so:
conda create -n test1
conda create -n test2
Step 2: Test selection
- Select the environment via the interpreters list.
- Notice status bar displays the following:

- Expand the notification and click on the hyperlink, the output channel should open which describes the commands extension is running:

- Note environment should still be usable while installation is ongoing, play around with it. Try debugging a simple python file for example:
print("Hello world!")Packages like ipykernel should also be installable at this point.
- Notice status bar indicates that a interpreter refresh is triggered once installation has finished.
- Once refresh has finished, notice interpreter list now indicates that Python is installed within the environment:

