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
Test multiroot support for terminal activation using environment variables #21102
Hover over the tab title, note Python has a description for which env is activated next to it:
Run some random commands in the terminal, then change environment using Python: Select Interpreter command, a warning sign should appear to the right of terminal with new env changes that're about to be made:
Click show environment contributions highlighted above, make sure the environment variables are for the right environment:
Hi Kartik Raj (@karrtikr), great work here. I have just been testing the fix. I opened two workspace folders into which I placed a python file each and selected different interpreters for each. I created two terminals per workspace folder. When I change the interpreter for one of the folders, one of the terminal labels becomes yellow, but not the second one, despite them being associated to the same folder. Upon clicking on the show contributions button, the same file is opened for both terminals. I was wondering if this is intended?
but not the second one, despite them being associated to the same folder.
⚠️ signs only appears next to terminals which are dirty, as they require a relaunch to update the envs. The second has not been interacted with yet, so envs are updated without the need for relaunching it, but it seems that the description is not updated microsoft/vscode#180851.
Activity
aiday-mar commentedon Apr 25, 2023
Hi Kartik Raj (@karrtikr), great work here. I have just been testing the fix. I opened two workspace folders into which I placed a python file each and selected different interpreters for each. I created two terminals per workspace folder. When I change the interpreter for one of the folders, one of the terminal labels becomes yellow, but not the second one, despite them being associated to the same folder. Upon clicking on the
show contributionsbutton, the same file is opened for both terminals. I was wondering if this is intended?Screen.Recording.2023-04-25.at.11.40.15.mov
karrtikr commentedon Apr 25, 2023
Aiday Marlen Kyzy (@aiday-mar) Thanks for identifying this! it does look like either a limitation of the API or a bug.