{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "compile C++", "type": "shell", "command": "g++ -std=c++11 -g ${fileBasename} -o ${fileBasenameNoExtension}", "presentation": { "reveal": "always", "panel": "shared" }, "group": { "kind": "build", "isDefault": true }, // Use the standard less compilation problem matcher. "problemMatcher": { "owner": "cpp", "fileLocation": [ "relative", "${workspaceRoot}" ], "pattern": { "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } } } ] }