Skip to content

Commit

Permalink
chore: copy tsc problemMatchers from vscode
Browse files Browse the repository at this point in the history
close #1277
  • Loading branch information
johnsoncodehk committed May 28, 2022
1 parent 0ebbad9 commit 43c681c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions extensions/vscode-vue-language-features/package.json
Expand Up @@ -646,6 +646,39 @@
]
},
"problemMatchers": [
{
"name": "tsc",
"label": "%typescript.problemMatchers.tsc.label%",
"owner": "typescript",
"source": "ts",
"applyTo": "closedDocuments",
"fileLocation": [
"relative",
"${cwd}"
],
"pattern": "$tsc"
},
{
"name": "tsc-watch",
"label": "%typescript.problemMatchers.tscWatch.label%",
"owner": "typescript",
"source": "ts",
"applyTo": "closedDocuments",
"fileLocation": [
"relative",
"${cwd}"
],
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "^\\s*(?:message TS6032:|\\[?\\D*.{1,2}[:.].{1,2}[:.].{1,2}\\D*(├\\D*\\d{1,2}\\D+┤)?(?:\\]| -)) File change detected\\. Starting incremental compilation\\.\\.\\."
},
"endsPattern": {
"regexp": "^\\s*(?:message TS6042:|\\[?\\D*.{1,2}[:.].{1,2}[:.].{1,2}\\D*(├\\D*\\d{1,2}\\D+┤)?(?:\\]| -)) (?:Compilation complete\\.|Found \\d+ errors?\\.) Watching for file changes\\."
}
}
},
{
"name": "vite",
"label": "Vite problems",
Expand Down

0 comments on commit 43c681c

Please sign in to comment.