зеркало из https://github.com/microsoft/pyright.git
80 строки
2.5 KiB
JSON
80 строки
2.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"tasks": [
|
|
{
|
|
"label": "Watch extension",
|
|
"type": "npm",
|
|
"script": "watch:extension",
|
|
"isBackground": true,
|
|
// From vscode-tsl-problem-matcher.
|
|
"problemMatcher": {
|
|
"owner": "custom",
|
|
"fileLocation": "absolute",
|
|
"pattern": [
|
|
{
|
|
"regexp": "\\[tsl\\] (ERROR|WARNING) in (.*)?\\((\\d+),(\\d+)\\)",
|
|
"severity": 1,
|
|
"file": 2,
|
|
"line": 3,
|
|
"column": 4
|
|
},
|
|
{
|
|
"regexp": "\\s*TS(\\d+):\\s*(.*)$",
|
|
"code": 1,
|
|
"message": 2
|
|
}
|
|
],
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": {
|
|
"regexp": "PublicPath: .*?"
|
|
},
|
|
"endsPattern": {
|
|
"regexp": "webpack compiled in .*? ms"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Watch test server",
|
|
"type": "npm",
|
|
"script": "watch:testserver",
|
|
"isBackground": true,
|
|
// From vscode-tsl-problem-matcher.
|
|
"problemMatcher": {
|
|
"owner": "custom",
|
|
"fileLocation": "absolute",
|
|
"pattern": [
|
|
{
|
|
"regexp": "\\[tsl\\] (ERROR|WARNING) in (.*)?\\((\\d+),(\\d+)\\)",
|
|
"severity": 1,
|
|
"file": 2,
|
|
"line": 3,
|
|
"column": 4
|
|
},
|
|
{
|
|
"regexp": "\\s*TS(\\d+):\\s*(.*)$",
|
|
"code": 1,
|
|
"message": 2
|
|
}
|
|
],
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": {
|
|
"regexp": "PublicPath: .*?"
|
|
},
|
|
"endsPattern": {
|
|
"regexp": "webpack compiled in .*? ms"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|