Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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"
        }
    ]
}
like image 854
1.21 gigawatts Avatar asked Jun 09 '19 23:06

1.21 gigawatts


People also ask

How do you stop a running project in Visual Studio code?

VS Code maintains a debug session while the program is running, and pressing the Stop button terminates the program.

How do I run a task in vscode?

Task auto-detection# Below is an example of the tasks detected for the vscode-node-debug extension. Tip: You can run your task through Quick Open (Ctrl+P) by typing 'task', Space and the command name.


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

like image 85
Peter Avatar answered Oct 04 '22 14:10

Peter


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

like image 43
Safareli Avatar answered Oct 04 '22 13:10

Safareli