Skip to content

env variables don't resolve in workspaces #144361

@Han-Zhao

Description

@Han-Zhao

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

  • VS Code Version: 1.65.0
  • OS Version:
    Edition Windows 10 Enterprise
    Version 21H2
    Installed on ‎17-‎Jul-‎2020
    OS build 19044.1469
    Experience Windows Feature Experience Pack 120.2212.3920.0

Steps to Reproduce:

put some variables in EG: ${env:PATH}
"terminal.integrated.env.linux": {
"DATA": "${env:PATH};${workspaceFolder}/xtensa-esp32-elf/bin",
}
echo out that variable in the integrated terminal
echo $DATA

;/home/bird/deako/goat/xtensa-esp32-elf/bin

Issue appeared before in e.g. version 1.32.1, 1.33
#70323
#71740

No issue with version 1.64.2

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions