vscode: Environment collection should not be applied on hidden terminals (non-windows)

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.85.0-insider OS: Linux (codespaces)

WORKS FINE ON WINDOWS

Steps to Reproduce:

(.venv) in the terminal prompt is contributed via env collection by Python extension.

Normal terminal: image

Hovering says that collection is applied.

Hidden terminal: image

Although it says that no environment collection is contributed upon hovering, collection is still applied as can be seen in the terminal prompt.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 21 (21 by maintainers)

Commits related to this issue

Most upvoted comments

@rzhao271 you can build the extension and do it in the insiders extension development host

@Tyriar Actually we reverted the change made in this issue with https://github.com/microsoft/vscode/issues/197187#issuecomment-2004828951, so even hidden terminals have environment collection applied by default now.