pyright/.vscode/tasks.json
Rich Chiodo e01b0fe205
Add test(s) that validate Pyright can talk over LSP (#7172)
* 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
2024-01-31 16:38:37 -08:00

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"
}
}
}
}
]
}