-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersvariable-resolvingverifiedVerification succeededVerification succeeded
Milestone
Description
Issue Type: Bug
When I try to use ${confg:<name>} variables in multi-root workspace launch configurations, they fail to resolve with error:
'${config:<name>}' can not be resolved in a multi folder workspace. Scope this variable using ':' and a workspace folder name.
This is not right, as there is no way to scope config variables with workspace folder names.
Minimal example, launching the configuration Launch Program will fail to resolve the config variable:
Hierarchy:
Desktop:
test1
test2
test.code-workspace
test.code-workspace:
{
"folders": [
{
"path": "./test1"
},
{
"path": "./test2"
}
],
"launch": {
"configurations": [
{
"name": "Launch Program",
"type": "node",
"request": "launch",
"program": "${config:editor.fontSize}"
}
]
}
}
VS Code version: Code 1.45.0 (d69a79b, 2020-05-07T15:57:33.467Z)
OS version: Darwin x64 19.4.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersvariable-resolvingverifiedVerification succeededVerification succeeded