Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Select the build task to run" in VSCode keeps popping up

Every time I run the code in VS Code (Python code run with Ctrl-Shift+B), the VS Code keeps asking me to "Select the build task to run" instead of just running the script (as it was previously). I do have only one task defined. How to solve this problem?

like image 933
cerebrou Avatar asked Nov 07 '22 22:11

cerebrou


1 Answers

You need set the desired task as the default. In the file tasks.json, change the following from:

"group": "build",

to:

"group": {
    "kind": "build",
    "isDefault": true
},
like image 120
magamig Avatar answered Nov 18 '22 11:11

magamig