-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.
Description
When I run uv sync on a freshly-cloned project, VS Code detects the new virtual environment, and activates it in all terminals.
However, in order to do this, it sends an interrupt signal in all terminals, causing most running tasks to exit. This is incredibly annoying in some projects, especially as the action can sometimes occur randomly up to 2 minutes after the virtual environment is created.
To reproduce
git clonea Python project- Start up the project, eg by running
uv run [program] - UV creates the virtual environment and starts the program
- VS Code then immediately kills the freshly-started program
Why this is incredibly disruptive to my workflow
I work as a university tutor. I am currently assignment marking, and to do so I must uv run large numbers of student projects. Every time I do this, VS Code kills their project part-way through testing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-activationIssue related to activation. Root cause can be from interpreter selection or activation in terminalIssue related to activation. Root cause can be from interpreter selection or activation in terminalarea-terminalEnvironment extension specific terminal issues.Environment extension specific terminal issues.