New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$tsc & $tsc-watch problem matchers unavailable in take over mode #1277
Comments
+1 for this, this task in {
"label": "typecheck",
"type": "shell",
"command": "npx tsc --noEmit",
"problemMatcher": {
"base": "$tsc-watch",
"fileLocation": ["relative"]
}
} Have you found a workaround @segevfiner ? I can't find a |
Workaround: {
"problemMatcher": {
"pattern": {
"regexp": "^([^\\s].*)[\\(:](\\d+)[,:](\\d+)(?:\\):\\s+|\\s+-\\s+)(error|warning|info)\\s+TS(\\d+)\\s*:\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
}
}
|
You also need the background patterns if you are using watch and |
I'm still getting this error:
|
It looks like you STARTED to what needed to be done, but you were getting a "the pattern with the identifier $tsc doesn't exist" because you needed to also add the Here's a link to the original code from the TypeScript Language Features extension: https://github.com/microsoft/vscode/blob/main/extensions/typescript-language-features/package.json#LL1494C1-L1540C7 I highlighted everything you need to copy. Like I said, you previously grabbed the |
As the
$tsc
&$tsc-watch
problem matchers, and associated patterns, are contributed by the TypeScript and JavaScript extension that you need to disable to switch to take over mode, they become unavailable in take over mode, while they could still be useful while in it.The text was updated successfully, but these errors were encountered: