mirror of
https://github.com/microsoft/pyright.git
synced 2024-08-17 11:50:22 +03:00
* Everything building, but not running * More tests passing * Fix test to open a file * Remove unused functions and consolidate others * Remove unused custom lsp messages * Add comments
80 lines
2.5 KiB
JSON
80 lines
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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|