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
Context: Python extension uses environment collection to activate all terminals, via shell integration.
Some users launch certain apps via tasks microsoft/vscode-python#22880, expecting environment to be activated, and hence are failing because shell integration isn't active for such terminals.
If shell integration isn't available for a terminal type, fallback on applying environment collection using process creation instead. That is, if both "applyAtShellIntegration" and "applyAtProcessCreation" are set to true and shell integration is working, we only apply it at shell integration, otherwise we fallback to only apply it at process creation.
Creating based on #204694 (comment).
Context: Python extension uses environment collection to activate all terminals, via shell integration.
Some users launch certain apps via tasks microsoft/vscode-python#22880, expecting environment to be activated, and hence are failing because shell integration isn't active for such terminals.
A couple of solutions we could go with:
trueand shell integration is working, we only apply it at shell integration, otherwise we fallback to only apply it at process creation.