- VSCode Version: 1.22.1 (newest) (typescript 2.8.1)
- OS Version: Windows 10 64bit
I expect typescript errors from all files to show until they have been fixed.
Instead, they disappear as soon as the document is closed again (e.g. by randomly clicking on the error list, which causes documents to open & close again)
Steps to Reproduce:
- Use this tasks.json (check if the project path fits you first)
{
"version": "2.0.0",
"command": "tsc",
"isShellCommand": true,
"args": [
"-w",
"-p",
"."
],
"showOutput": "silent",
"isBackground": true,
"problemMatcher": {
"base": "$tsc-watch",
// "owner": "typescript",
// "applyTo": "allDocuments"
}
}
- Start the task
- Errors will show in error list (hopefully, if there are errors at all)
- Randomly click between errors of different files in error list. The files will open and close automatically (if they are not pinned). When a file closes, it's errors disappear!
What I have tried:
- $tsc-watch matcher without any other options
- owner property "typescript" or something artificial
- applyTo property all possibilities
- in settings: typescript.validate.enable === false
The "best" in my trial and error endevour I have got was that the errors just persisted, even when fixed, lol :)
My user settings (don't have workspace settings)
{
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"editor.wordWrap": "on",
"explorer.confirmDelete": false,
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
},
"editor.autoClosingBrackets": false,
"explorer.confirmDragAndDrop": false,
"editor.acceptSuggestionOnCommitCharacter": false,
"window.zoomLevel": 0,
"explorer.autoReveal": true,
"editor.suggestOnTriggerCharacters": true,
"editor.acceptSuggestionOnEnter": "on",
"editor.parameterHints": true,
"typescript.referencesCodeLens.enabled": false,
// "typescript.validate.enable": false
}
Does this issue occur when all extensions are disabled?: Yes
I expect typescript errors from all files to show until they have been fixed.
Instead, they disappear as soon as the document is closed again (e.g. by randomly clicking on the error list, which causes documents to open & close again)
Steps to Reproduce:
What I have tried:
The "best" in my trial and error endevour I have got was that the errors just persisted, even when fixed, lol :)
My user settings (don't have workspace settings)
Does this issue occur when all extensions are disabled?: Yes