Top "Vscode-tasks" questions

Is it possible to pass arguments to a task in Visual Studio Code

Here's an example of my tasks.json: { "version": "0.1.0", "tasks": [ { "taskName": "test", "suppressTaskName": true, "command": "python", "args": [ "tests/brewer_tests.py" ], "…

visual-studio-code vscode-tasks
How to run multiple tasks in VS Code on build?

Using tasks.json version 2.0.0, I have not been able to make it so that, when I build my application, multiple …

visual-studio-code vscode-tasks
How to get rid of "Terminal will be reused by tasks, press any key to close it." behaviour?

Upon executing a task (cargo build in this case), the following appears in the VSCode terminal: > Executing task: cargo …

visual-studio-code vscode-tasks
How to run Cmake in Visual Studio Code using tasks

I'm trying to run cmake with ctrl+shift+B like so: { "version": "2.0.0", "tasks": [ { "label": "cmake", "type": "shell", "options": { "cwd": "${workspaceRoot}/…

c++ cmake visual-studio-code vscode-tasks
Visual Studio Code: running preLaunchTask with multiple tasks

I am trying to figure out how to run multiple tasks at once in the prelaunchtask of the launch.json …

visual-studio-code vscode-settings vscode-tasks
How to make vscode not wait for finishing a preLaunchTask?

I have a debug setup in Visual Studio code where I run an external binary which can execute my JS …

visual-studio-code vscode-tasks vscode-debugger
How to Setup VS Code For C++ 14 /C ++17

I tried to run a .cpp file from workspace but giving me this error about not adding c++11/higher flags …

c++ visual-studio-code vscode-settings vscode-tasks
VSCode: How to run a command after each terminal open?

On Windows I have to run the command start-ssh-agent.cmd on each new terminal session I open. My development environment …

visual-studio-code vscode-extensions vscode-settings vscode-tasks
How to chain tasks in Visual Studio Code using only tasks.json?

I have been ploughing through the documentation of Visual Studio Code to figure out how to add multiple consecutive tasks …

visual-studio-code vscode-tasks
How to jump to build error in Visual Studio Code?

I'm using Visual Studio Code (Version 1.8.1) on Linux. When there is a build error and I click on the line …

visual-studio-code vscode-tasks