{ "version": "2.0.0", "tasks": [ { "label": "build and run", "type": "shell", "command": "g++ ${file} -o ${fileDirname}/${fileBasenameNoExtension} && ${fileDirname}/${fileBasenameNoExtension}", "group": "build", "presentation": { "reveal": "always" }, "problemMatcher": "$gcc" } ] }