Skip to content

Commit

Permalink
Run VSCode Build task in a single task to fix problems pane conflicts
Browse files Browse the repository at this point in the history
Workaround for microsoft#119824
  • Loading branch information
russelldavis committed May 23, 2023
1 parent fd85723 commit 65c16d9
Showing 1 changed file with 32 additions and 13 deletions.
45 changes: 32 additions & 13 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,31 @@
},
{
"label": "VS Code - Build",
"dependsOn": [
"Core - Build",
"Ext - Build"
],
"group": {
"kind": "build",
"isDefault": true
"type": "npm",
"script": "watchd",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "buildWatchers",
"close": false
},
"problemMatcher": []
"problemMatcher": {
"owner": "typescript",
"applyTo": "closedDocuments",
"fileLocation": [
"absolute"
],
"pattern": {
"regexp": "Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
"file": 1,
"location": 2,
"message": 3
},
"background": {
"beginsPattern": "Starting compilation",
"endsPattern": "Finished compilation"
}
}
},
{
"type": "npm",
Expand All @@ -94,13 +110,16 @@
"problemMatcher": "$tsc"
},
{
"type": "npm",
"script": "kill-watchd",
"label": "Kill VS Code - Build",
"dependsOn": [
"Kill Core - Build",
"Kill Ext - Build"
],
"group": "build",
"problemMatcher": []
"presentation": {
"reveal": "never",
"group": "buildKillers",
"close": true
},
"problemMatcher": "$tsc"
},
{
"label": "Restart VS Code - Build",
Expand Down

0 comments on commit 65c16d9

Please sign in to comment.