vscode-tasks Questions

2

Solved

I'm trying to figure out how to make a custom run configuration in Visual Studio Code, and am not succeeding in finding any documentation describing my use case. I want to make a Run Configuration ...
Pieper asked 23/2, 2021 at 11:44

0

Background: This is a duplicate (yes) of previous questions (Extension API - Task Provider - Build Task example) - where I cannot seem to get the answers to work - with the sole purpose of garnerin...
Siloum asked 29/8 at 11:25

2

I am trying to run a simple program "primeRange.cpp" using Code Runner extension available for VSCode. I have selected my default terminal as git bash in VSCode, but when I hit Run on to...

4

I am debugging my CPP code with VSCode. I need to use a preLaunchTask to set my environment before my code run. So my code should run after preLaunchTask right in the same terminal. But it start in...
Autotype asked 16/8, 2019 at 2:15

2

I have a launch configuration that runs a bat script as a pre launch task. Sometimes, the bat script fails to build my project. However, the debugging task still runs, which is really annoying, and...
Caulfield asked 1/6, 2021 at 19:14

11

Solved

I have checked out many answers from Stack Overflow but I wasn't able to fix the issue that IntelliSense not working for Tailwindcss. But vscode Intellisense working for other things like python an...

5

edit: Rebooting fixed the problem. I'm still wondering what could have caused it in the first place because this happened once before, but I don't remember what I did to fix it then (at that time a...
Albertinealbertite asked 5/7, 2020 at 20:38

3

Solved

I'm developing a VS Code extension following the vscode-extension-samples/helloworld-sample. Question: Is there a way to Hot Module Replace or otherwise "patch" the source code loaded by...
Nynorsk asked 1/2, 2023 at 2:45

2

Let's say this is my project. file structure: project_root |-- inc | |-- header.h |-- src | |-- helpers.c | |-- main.c header.h #ifndef HEADER_H # define HEADER_H void func(void); #endif h...
Unharness asked 14/2, 2020 at 2:35

18

Solved

I want to open a directory using cmd in visual studio code but its giving me an error in cmd. So, what setting is required for that? I have performed below command D:\RND>code .
Ronaldronalda asked 9/10, 2017 at 4:37

2

Solved

Actually the problem I'm having right now is same as Process terminated. Couldn't find a valid ICU package installed on the system in Asp.Net Core 3 - Ubuntu. To solve this, I need to run export DO...

12

I am trying to do an import in python from one directory level up. import sys sys.path.append('..') from cn_modules import exception I get an Error from VSCode when I try to do Run Build Task a...
Henna asked 2/10, 2017 at 5:50

3

Solved

I'm trying to run cmake with ctrl+shift+B like so: { "version": "2.0.0", "tasks": [ { "label": "cmake", "type": "shell", "options": { "cwd": "${workspaceRoot}/build" }, "command": "cmake ${...
Kight asked 31/3, 2018 at 5:19

2

I have written a shell script, which will do some configurations first before launching a python program. (e.g., downloading the data, pip install some packages, setting environment variables, etc....
Alunite asked 28/7, 2021 at 13:39

4

Here's an example of my tasks.json: { "version": "0.1.0", "tasks": [ { "taskName": "test", "suppressTaskName": true, "command&...
Lontson asked 9/8, 2017 at 6:0

2

Solved

Is it possible to launch bat file via external terminal, not inside a vscode terminal? Task sample: { "label": "Build", "type": "shell", "command": "./build.bat", "presentation": { "reveal":...
Coessential asked 27/12, 2017 at 14:9

3

Solved

Using .NET Core on a Mac with Visual Studio Code, I'm trying to host an Azure Function locally, and attach the debugger to it. Manually, I can get it to work by starting the function with func host...

1

Solved

I am a beginner, using VSCode on macOS. Trying to iterate using square brackets which is requires C++17: for (auto [document_id, relevance] : documents) { cout << "{ document_id = &quot...
Pyrochemical asked 16/9, 2023 at 19:34

3

I am trying to use the MSVC build tools inside of VS Code, and as such wanted to use the developer command prompt as an integrated shell. My current approach was to add a terminal profile and pass ...
Volz asked 18/8, 2021 at 19:38

4

Solved

I want to configure a tasks.json file in VS Code to run python and java code just pressing: Ctrl + Shift + B Python and Java are configured but it needs two different tasks.json files. But I can ...
Tidewater asked 25/6, 2020 at 0:48

7

Solved

I have a local folder that I use as a scratch pad for multiple little sample and toy pieces of code. I store a host of python, C++, shell scripts etc. in this directory. I'm using Visual Studio Co...
Ingle asked 29/7, 2015 at 13:36

9

I press Ctrl+Shift+B to start a build in Visual Studio Code (it's configured to just run GNU Make), and the build tool output is written to the Terminal window. However, it's appended to the outpu...
Elegy asked 14/9, 2017 at 14:5

5

Solved

I have a debug setup in Visual Studio code where I run an external binary which can execute my JS files (using duktape). The debug adapter currently only supports attach requests (not launch) so I ...
Telekinesis asked 29/5, 2017 at 12:3

5

I have a debug launch configuration (launch.json) like below. { "version": "0.2.0", "configurations": [ { "name": "Current TS File", "type": "node", "request": "launch", "preLaunchTask": "P...
Thai asked 1/2, 2019 at 13:44

4

Solved

Is it possible to have a keybindings.json as part of the workspace settings instead of the user settings? Since I have specific tasks associated to my workspace, I would also like to be able to as...
Silkweed asked 23/2, 2018 at 10:3

© 2022 - 2024 — McMap. All rights reserved.