Is there any way of running VSCode tasks in the *current* integrated terminal?

Viewed 701

By default running tasks inside Visual Studio Code opens a new integrated terminal over the current one, which then asks you to press a key to close it. I would really prefer if the current terminal was used instead, as it gets annoying when many new terminals stack over one another after running several tasks. Is there any way of configuring that? I find it hard to believe no one else dislikes the default behavior but can't seem to find anything online or in the settings.

2 Answers

Go to .vscode/tasks.json

change panel value to shared

prefrence : { 
"panel": "shared"
} 
Related