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:
Hovering says that collection is applied.
Hidden terminal:
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
- Align check for env var collection on remote Checked all causes before applyToProcessEnvironment was used. Fixes #197187 — committed to microsoft/vscode by Tyriar 4 months ago
- Enable shell integration in hidden terminals As I understand it, hidden terminals were always exempty from shell integration because hidden terminals were thought of as private to an extension in a w... — committed to microsoft/vscode by Tyriar 3 months ago
@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.