-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Test: Selecting environments when VSCode is launched from an activated terminal #20538
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
Comments
@karrtikr Sorry that I do not have any clue to setup following abilities. Is there a doc for setting up them?
|
Yes, they just require installing each tool.
Install conda via: https://conda.io/projects/conda/en/latest/user-guide/install/index.html. Make sure it's on
Use |
Verified all the cases for Conda and Non Conda cases on Windows. |
Nevermind, I pasted it earlier in my bashrc and it works now 🤔 |
Good work!! Sorry about all of the confusion, lmk if you have questions! |
Refs: #10668
Complexity: 5
Create Issue
Requirements
virtualenvwrapper
.Verification
Virtual environments
Launch VSCode:
Open a Python file to activate the extension, notice the newly created environment should be selected at startup, and that the logs indicate this:

Non-base conda environments
Base conda environments
Case I:
CONDA_AUTO_ACTIVATE_BASE
tofalse
.Case II:
CONDA_AUTO_ACTIVATE_BASE
totrue
.Case III:
CONDA_AUTO_ACTIVATE_BASE
.false
, unset it or set the value totrue
:Case IV:
false
:The text was updated successfully, but these errors were encountered: