Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Recently used' custom tasks keeps growing #105812

Closed
chrmarti opened this issue Sep 1, 2020 · 3 comments
Closed

'Recently used' custom tasks keeps growing #105812

chrmarti opened this issue Sep 1, 2020 · 3 comments
Assignees

Comments

@chrmarti
Copy link
Contributor

chrmarti commented Sep 1, 2020

Issue Type: Bug

#105736

Not sure when another one is added, but there is only one in tasks.json:

image

VS Code version: Code - Insiders 1.49.0-insider (b6d4fec, 2020-09-01T05:48:29.841Z)
OS version: Darwin x64 19.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
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: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (0.07GB free)
Process Argv --crash-reporter-id 7aad610c-0e6b-48aa-ba87-b704b1b543cf
Screen Reader no
VM 22%
@alexr00
Copy link
Member

alexr00 commented Sep 1, 2020

This is happening because you keep changing the task. Each time the task is run, we save it as a different recently used task. It isn't ideal, but we can't tell that the task is the same as the one you've already run (because it actually isn't the same, you've changed its core properties).

@alexr00 alexr00 closed this as completed Sep 1, 2020
@chrmarti
Copy link
Contributor Author

chrmarti commented Sep 2, 2020

Couldn't you remove those that are no longer in the task.json?

@alexr00
Copy link
Member

alexr00 commented Sep 2, 2020

Since tasks in the recently used list could also come from extensions (ex. npm, typescript, etc.) I don't immediately know if a recent task came from tasks.json or from an extension. I could annotate tasks that came from the tasks.json and remove those I suppose.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants