When I try to Run Build Task for any C/C++ file, I am asked by VScode to determine which task I want to use, or configure a new task.json, via a pop-up menu. As shown in the screenshot in the below

Now there are just too many tasks, I want to remove some of them so that the recent ones that I configured will be shown in the menu.
So, I am looking for a way to delete those ones and have my recently configured tasks as the defaults.
I am on macOS Catalina, using the latest version of VScode.
Set task.autoDetect to off
https://code.visualstudio.com/docs/editor/tasks#_task-autodetection
It can also be overridden per extension
{
"typescript.tsc.autoDetect": "off",
"grunt.autoDetect": "off",
"jake.autoDetect": "off",
"gulp.autoDetect": "off",
"npm.autoDetect": "off"
}
like so if the extension supports it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With