add tsgo watcher (#276751)

This commit is contained in:
Megan Rogge
2025-11-11 12:35:52 -05:00
committed by GitHub
parent 38378095d3
commit b245d3d16c
2 changed files with 22 additions and 0 deletions

View File

@@ -1784,6 +1784,27 @@
],
"pattern": "$tsc"
},
{
"name": "tsgo-watch",
"label": "%typescript.problemMatchers.tsgo-watch.label%",
"owner": "typescript",
"source": "ts",
"applyTo": "closedDocuments",
"fileLocation": [
"relative",
"${cwd}"
],
"pattern": "$tsc",
"background": {
"activeOnStart": true,
"beginsPattern": {
"regexp": "^build starting at .*$"
},
"endsPattern": {
"regexp": "^build finished in .*$"
}
}
},
{
"name": "tsc-watch",
"label": "%typescript.problemMatchers.tscWatch.label%",

View File

@@ -70,6 +70,7 @@
"typescript.tsc.autoDetect.build": "Only create single run compile tasks.",
"typescript.tsc.autoDetect.watch": "Only create compile and watch tasks.",
"typescript.problemMatchers.tsc.label": "TypeScript problems",
"typescript.problemMatchers.tsgo-watch.label": "TypeScript problems (watch mode)",
"typescript.problemMatchers.tscWatch.label": "TypeScript problems (watch mode)",
"configuration.suggest.paths": "Enable/disable suggestions for paths in import statements and require calls.",
"configuration.tsserver.useSeparateSyntaxServer": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols.",