You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: activate default project python/conda environment when launching a task #1053
hi,
following this issue: #1040 I want to request this feature that even though it was a side effect, it was very useful.
Basically whenever I launch a task located in a project (.vscode/tasks.json) i want the default python environment of that project to be activated by default. this should happen whatever shell activation I have selected.
I find this critical. Many of the useful tasks one might have (running code quality checks, running scripts from the code base, etc.) need the venv activated and the .env file parsed.
This worked before and I think a significant regression from before the Environments extension.
Activity
syagev commentedon Dec 10, 2025
I find this critical. Many of the useful tasks one might have (running code quality checks, running scripts from the code base, etc.) need the venv activated and the .env file parsed.
This worked before and I think a significant regression from before the Environments extension.
anthonykim1 commentedon Dec 11, 2025
Thanks for the feature request!
y2kbugger commentedon Dec 16, 2025
seems to do the trick at least in my case
liesauer commentedon Aug 10, 2026
same here, the auto activation works for me before, it's broken again. it just boom from idk which version. 😭