-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Does this issue occur when all extensions are disabled?: Yes/No
Description:
After activating the Conda base environment in VS Code’s terminal (using zsh), the environment name does not appear in the terminal prompt. Running conda env list shows the environment is active, but the terminal prompt does not reflect it.
Steps to Reproduce:
1. Open VS Code and launch the integrated terminal (zsh).
2. Activate the Conda base environment with conda activate base.
3. Observe that the terminal prompt does not show (base) even though conda env list indicates the environment is active.
Expected Behavior:
The terminal prompt should show the activated Conda environment (e.g., (base)) after running conda activate base.
Actual Behavior:
The terminal prompt does not reflect the active Conda environment.
Workaround Attempts:
• Verified auto_activate_base: true with conda config --show auto_activate_base.
• Re-ran source ~/.zshrc.
• Restarted VS Code and terminal.
• The issue persists.
VS Code Version:
1.96.2
OS Version:
macOS 15.1
Does this issue occur when all extensions are disabled?
Yes
➜ ~ conda activate base
➜ ~ conda env list
# conda environments:
#
base * /Users/shanyujia/miniconda3
2024-hackthon-RockCat /Users/shanyujia/miniconda3/envs/2024-hackthon-RockCat
comparedoxome /Users/shanyujia/miniconda3/envs/comparedoxome
emollm /Users/shanyujia/miniconda3/envs/emollm
inula /Users/shanyujia/miniconda3/envs/inula
latex /Users/shanyujia/miniconda3/envs/latex
rockcat /Users/shanyujia/miniconda3/envs/rockcat
➜ ~