2020-08-15 18:26:48 +02:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
2021-01-15 17:28:05 +01:00
|
|
|
"label": "ninja",
|
2020-08-15 18:26:48 +02:00
|
|
|
"type": "shell",
|
2021-01-15 17:28:05 +01:00
|
|
|
"command": "ninja",
|
2020-08-15 18:26:48 +02:00
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
|
|
"pattern": {
|
2020-08-18 01:28:37 +02:00
|
|
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
2020-08-15 18:26:48 +02:00
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"severity": 3,
|
|
|
|
"message": 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
|
|
"severity": "error",
|
|
|
|
"pattern": {
|
2020-08-18 01:28:37 +02:00
|
|
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
2020-08-15 18:26:48 +02:00
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"message": 3,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "diff",
|
|
|
|
"type": "shell",
|
2021-01-15 17:28:05 +01:00
|
|
|
"command": "./diff.py -mwo ${input:funcName}",
|
2020-08-15 18:26:48 +02:00
|
|
|
"isBackground": true,
|
|
|
|
"problemMatcher": [
|
|
|
|
{
|
|
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
},
|
|
|
|
"pattern": {
|
2020-08-18 01:28:37 +02:00
|
|
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
2020-08-15 18:26:48 +02:00
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"severity": 3,
|
|
|
|
"message": 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
|
|
|
"background": {
|
|
|
|
"activeOnStart": true,
|
|
|
|
},
|
|
|
|
"severity": "error",
|
|
|
|
"pattern": {
|
2020-08-18 01:28:37 +02:00
|
|
|
"regexp": "^(src\\/.*|include\\/.*):(\\d+):\\s+(?!warning|\\()(.*)$",
|
2020-08-15 18:26:48 +02:00
|
|
|
"file": 1,
|
|
|
|
"line": 2,
|
|
|
|
"message": 3,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "test",
|
|
|
|
"isDefault": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"id": "funcName",
|
|
|
|
"description": "Function name",
|
|
|
|
"type": "promptString",
|
|
|
|
}
|
|
|
|
],
|
|
|
|
}
|