Repro steps:
- From a WSL bash prompt
- Create a project folder with a python file and a venv.
- Start VS Code in that repo.
- Notice that the venv is detected and selected.
- Changing the
python-envs.terminal.autoActivationType from shellStartup to off or vice versa has no effect.
This happens because, .bashrc could have been previously updated with VSCODE_BASH_ACTIVATE as script variable, now it is VSCODE_PYTHON_BASH_ACTIVATE we need to check this and update it.
Repro steps:
python-envs.terminal.autoActivationTypefromshellStartuptooffor vice versa has no effect.This happens because,
.bashrccould have been previously updated withVSCODE_BASH_ACTIVATEas script variable, now it isVSCODE_PYTHON_BASH_ACTIVATEwe need to check this and update it.