Skip to content

Command variable substitution hangs tasks.json #102769

@brianignacio5

Description

@brianignacio5

Issue Type: Bug

Specify a task in tasks.json (also happens in launch.json) that uses ${command: command_id } in args or options env (places I've tried).

As an extension developer, I've made some predefined tasks.json that uses an extension command (specified by command_id) in those tasks with variable substitution. This doesn't seem to work anymore after 1.47 config and workspaceFolder variables seems to work.

Steps to reproduce:

  1. Make a task in tasks.json that uses ${command: command_id } of some extension.
  2. Try to execute this task with F1 -> Run task
  3. Nothing happens. No Error and no output log.

VS Code version: Code 1.47.2 (17299e4, 2020-07-15T18:18:50.054Z)
OS version: Darwin x64 19.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 2, 4, 5
Memory (System) 8.00GB (0.03GB free)
Process Argv -psn_0_528513
Screen Reader no
VM 0%
Extensions (11)
Extension Author (truncated) Version
vscode-dash dee 2.4.0
prettier-vscode esb 5.1.3
vscode-drawio hed 0.7.2
vscode-docker ms- 1.3.1
vscode-language-pack-es MS- 1.47.3
python ms- 2020.7.94776
cpptools ms- 0.29.0
vscode-typescript-tslint-plugin ms- 1.2.3
vetur oct 0.24.0
fix-json oli 0.1.2
tslint-vue pro 1.5.6

Metadata

Metadata

Assignees

Labels

*not-reproducibleIssue cannot be reproduced by VS Code Team member as described

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions