I am looking for custom task but they should be added by itself when platform is selected. Just like in case of ESP32 the highlighted tasks get added by itself. There is no entry to be made by user or no tasks.json needs to be created. I searched pio core as well as platform source of esp32 I could not search for “Erase Flash” string anywhere. I am not sure how or where these tasks get added. I hope you get my real question now.
Thank you so much. Atleast now I know where is it coming from
But now the question is, Does node-helpers have options to hook platform specific tasks? Looking at the source I dont think there is any option of that sort. Its all hardcoded for platforms
name: 'Upload using Programmer and Set Fuses',
args: ['run', '--target', 'fuses', '--target', 'program'],
filter: data => data.platform.includes('atmelavr')
I would rather post an issue in the node-helpers repo, That might be the best thing to do.
@ivankravets will be the best person to comment on the ability to add tasks to the projects list in the VSCode extension, but posting an issue probably won’t hurt. He usually responds within a day or so if specifically mentioned though.