-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Test notification system for setting up deactivate command #22288
Comments
I was following the steps but I am not able to deactivate the env with |
it all worked for me, fwiw I totally missed the "Tip" in the linked document so I was a bit confused about the file script being populated automatically. |
@aiday-mar, Not to worry, this is expected for bash on newer macOS. But it should work for zsh or powershellCore, if not please open an issue regarding the same. |
Refs: #22121
Complexity: 5
Create Issue
Requirements
Background
Traditionally, activation script (
<venv>/<bin>/activate
) was run to activate terminals, which registered the deactivate command as well. But now that we're using environment variables to activate terminals instead, deactivate command is broken as it never gets registered.To make it work, this we added a notification system which helps user register the "deactivate" command in their shell init script.
Verification
Open a workspace folder and activate Python extension by opening a Python file.
Use
Create environment
command to select a venvLoop -> Do the following for all terminal shell types:
.venv
it looks something like:Terminal: Select Default Profile
, saybash
->fish
The text was updated successfully, but these errors were encountered: