vscode-tasks Questions

1

Solved

I can use input variables from launch.json in launch.json. "configurations": [ { ... "args": [${input:file_no}] "preLanuchTask": "runPreTasks" ... } ],...
Electrocardiograph asked 2/9, 2021 at 10:38

1

Solved

I'm trying to run my debug environment as a Poetry session, so I can properly debug encapsulated. So, my launch.json is straightforward: { "name": "Poetry", "type":...
Pretended asked 19/7, 2021 at 20:46

2

I was trying to build my c++ program using MSVC using VSC. I used to do this by executing the vcvarsx86_arm64.bat and then use the command. cl /EHsc /Z7 /W4 /Fe: ${fileDirname}.exe *.cpp this wo...
Cropland asked 23/11, 2019 at 21:34

1

Solved

I'm developing a Visual Studio Code extension that opens a webview custom editor. Part of this is a command that prompts the user for a filename, creates the file, and then opens it. It looks somet...
Ethiopic asked 15/7, 2021 at 22:36

0

I am writing an vscode extension. I created a TaskProvider and registered some tasks to do some jobs before launching debug. const task = new vscode.Task( taskDefinition, scope, name, source, ...
Gelation asked 22/6, 2021 at 7:40

2

Solved

Can't find an simple, basic solution anywhere for this problem so I figured it was worth posting it here. When I go to run my code as a task, I get the following message: "Tasks are only available...
Arvy asked 7/10, 2017 at 9:14

2

Solved

I am trying to migrate to VSCode and having a problem with setting-up tasks. It is easy to define tasks in tasks.json but I would like to run several tasks simultaneously (which I can't). Here is ...
Sidneysidoma asked 9/4, 2017 at 16:15

5

I want to debug and set breakpoints on typescript files and restart the debugger when changes are made (like nodemon watch for changes) with VSCode debugger configuration. Until now I acheived run...
Lebanon asked 26/1, 2018 at 23:11

2

Solved

After I uninstalled vs-code the popup message appeared: Your extensions and settings will not be removed. Now I want to remove all of the vs-code settings and install it as a new user. How can...
Timeout asked 22/9, 2018 at 22:26

5

Solved

I tried to run a .cpp file from workspace but giving me this error about not adding c++11/higher flags but I have added them in task.json Error [Running] cd "c:\Users\Nuhash\Desktop\test\"...
Kazan asked 12/3, 2019 at 7:41

0

I have a multi root workspace with several projects in it. Each project has its own build task that calls an external script to do the build. One project requires all the others to be built prior t...
Palmira asked 2/3, 2021 at 12:51

2

Solved

Currently, I have a Build Task set up in Visual Studio Code (not Visual Studio). When I press Ctrl+Shift+B, I get a list of my build tasks, I then have to select my task and then it will compile an...
Pessa asked 11/1, 2019 at 9:29

2

I've got a handful of custom tasks in VS Code that I want to share across multiple projects. The tasks are currently installed in $PROJECT_DIR/.vscode/tasks.json. Where should I put my tasks file ...
Summerlin asked 17/10, 2018 at 11:39

2

Summary I'm trying to debug a C++ program within a docker image (Ubuntu), while using VSCode as an IDE on my host system (OS X). After various tinkering with gdbserver and VSCode tasks, I'm now abl...
Ambulant asked 9/1, 2018 at 13:40

4

Solved

Using tasks.json version 2.0.0, I have not been able to make it so that, when I build my application, multiple tasks are run at the same time. I'm using gulp for my SCSS compilation, and running my...
Concertina asked 8/9, 2018 at 18:22

5

I am launching a task and it works great but its a task that stays running in the current shell. Is there anyway to kill this task from the editor when you are done?
Diaphoretic asked 27/10, 2015 at 15:30

2

Solved

For dotnet there is dotnet watch run For node there is nodemon Is there anyway to watch for file changes while developing azure functions? So far, I have to func start after every change in order ...

3

Solved

How can I debug an Angular multi-project workspace in VSCode using the VS Code - Debugger for Chrome? After the migration to an Angular multi-project workspace, the debugging does not work anymore....

1

Solved

In VS Code, I have an extension whose commands I can run by pressing F1 and searching by name. However I would like to automatically run it from a task (tasks.json). I know its full name from keybo...
Amandie asked 29/1, 2018 at 21:28

1

Solved

When trying to start a Debug session in vscode, it throws an error about not finding a specified task. I've already tried the solutions of other SO questions like this but without success. launch....
Connatural asked 11/5, 2020 at 9:34

2

Solved

I'm configuring a VSCode task in tasks.json, and I need to pass the ${workspaceFolder} to a 'make' command, however it needs to be forward slashes, not back slashes. { "version": "2.0.0", "echoCom...
Gagliano asked 12/11, 2017 at 14:36

2

I have a monorepo where I wish to create a script for starting up a specific project locally. The project is completely Node.js based. For me to set up this project locally for development, I ne...
Crone asked 1/6, 2020 at 14:54

0

My Visual Studio code extension allows users to deploy and debug applications on remote devices. To do this I need to have the application "installed" in a local folder that will then be synchroni...

0

starting position A tasks.json that defines a working build task (currently the only one, defined as default and working fine, also triggered by [CTRL]+[SHIFT]+[B]). It triggers an external comma...
Canning asked 8/5, 2020 at 11:36

4

Solved

I am trying to define my own environment variables in the tasks.json in VSCode. Following every link I have found so far, I tried the following: { "version": "2.0.0", "type": "shell", "options": {...
Chrono asked 24/10, 2018 at 7:43

© 2022 - 2024 — McMap. All rights reserved.