1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Compile & Run C++", "type": "shell", "command": "cd ${fileDirname}; g++ ${fileBasename} -o ${fileBasenameNoExtension}; ./${fileBasenameNoExtension}", "presentation": { "echo": false, "focus": true, "showReuseMessage": false, } } ] }