Skip to content

Separate user configured tasks from tasks generated by the extension in tasks.json #433

@jkrech

Description

@jkrech

Type: Feature Request

Problem to solve:
If the user maintains custom tasks in .vscode/tasks.json this file must be tracked in the source control system (e.g. git).
The CMSIS Solution extension generates tasks into this file based on debugger settings for the active target-set. As a result the tasks.json will show as modified most of the times, however only changes to the user maintained tasks are relevant.

Proposal how this could be solved:
Introduce an input file for the tasks.json that will be appended/prepended (?) to the tasks generated by CMSIS-Solution extension.

e.g. name the file tasks.in.json. Here the user maintains the tasks and this is the file that is maintained under revision control.

As part of the command: cmsis-csolution.updateDebugTasks the tasks from the in file will be added to the tasks.

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions