Replies: 5 comments
|
Does adding Also do you have shell integration settings enabled? (there is a generic shell integration setting and also one for Python) I'm wondering what your setting for the generic shell integration setting is. Lastly, does downgrading extension versions (you may have to go down potentially 3 or more (potentially version lower than .14.0 or below) change this behavior? Also are you on a windows, mac, or linux? |
|
Thank you for the suggestions! Adding "python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"] to my settings.json did not resolve the issue. |
|
I would try the lastest, and also the older ones too (I would start with 16.0 then go down from there) One clarifying question here though, when you say:
When you talk about this clean experience. Do you mean you did not see ANY environment related activation command on your terminal at all? |
|
Yes, previously the environment related activation is hidden, when I open the terminal the env is already activated and not showing any command. |
|
I see, in that case you would want to an opt into instead of opt out of terminal env var experiment. |
Uh oh!
There was an error while loading. Please reload this page.
Previously, when I opened the integrated terminal in VS Code, the
conda activate env_namecommand would run before the terminal appeared, ensuring a clean experience. However, after reinstalling VS Code, this behavior has changed.Now, the
conda activate env_namecommand executes after the terminal is visible, causing the command output to appear in the terminal (as shown in the image below).This change disrupts the seamless experience and is quite annoying.
How can I configure the integrated terminal to return to the previous behavior, where conda activate env runs before the terminal appears?
All reactions