Skip to content

Feature to disable conda activation when new terminals are opened. #13228

@ghost

Description

Possibly related to this and this.

I just started using VS Code to integrate my R and Python scripts in a single workspace. This "feature" of the Python extension is really annoying...

Okay, based on this, I understand why you may have built something that runs
[PATH]/anaconda3/Scripts/activate
and
conda activate base
when opening terminals that are intended to run Python code... But after installing the Python extension, every single new terminal tries to run this code, even those that are not intended for use with Python.

I do not need/want these commands to run automatically if I simply open an R terminal, a bash terminal, or some other terminal... Yet, in VS workspaces where the VS Code extension has been activated, these commands are sent every single time a new terminal is open. Screenshots are below from opening a radian terminal for running R code and when I simply open a bash terminal.

r example
bash example

Why are these two lines of code sent for every new terminal after Python extension has been activated?
How can we disable this?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions