Fix "Continue without scanning the task output" in Visual Studio Code

Viewed 6019

I've created a task to run typescript and I go to Terminal > Run Task and select my Build Typescript task.

It then shows the message:

Continue without scanning the task output

enter image description here

I've read the linked page but couldn't find anything. How do I get rid of this message?

tasks.json:

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Build Typescript",
            "command": "tsc"
        }
    ]
}
2 Answers

If you just want that message to not appear for this specific task, then add this to your task:

"problemMatcher": []

If you want your output to be scanned choose or make a problem matcher. You can read more about it in this section of the vs code docs:

Processing task output with problem matchers

In settings.json you can also set "task.problemMatchers.neverPrompt": true. This video has a good explanation of it.

Related