vscode-tasks Questions
17
whenever i try to open my vs code editor, nothing happens it doesn't launch and even there are no errors..!! And i am confused what's wrong here in my vs code. Please anyone help me fix it..!!
Belo...
Shoshana asked 10/5, 2020 at 5:23
4
I'd like to provide a list of strings as a pickString for a task. The list of strings will be a list of folder names, which I can get from PowerShell, but I'm not sure how to display this list in a...
Conias asked 17/9, 2019 at 15:47
3
it's been a long time that i run vscode as root via this command (ubuntu 20.04.4 LTS) :
> sudo code --user-data-dir="~/.vscode-root"
Today, i used the same command to execute vscode a...
Orlina asked 26/4, 2022 at 13:40
4
In order to define my environment variables in a single place a configured a task in which a run a shell script. The task is run as preLaunchTask in my launch.json.
In my launch.json I now try to ...
Fablan asked 29/5, 2019 at 6:54
3
I am new to vscode extension development, recently I came across a sqlserver extension for vscode in channel 9 video.
In that video at 5.20, after executing query the results of the query are sho...
Kikelia asked 4/11, 2019 at 18:48
2
Solved
I am trying to figure out how to run multiple tasks at once in the prelaunchtask of the launch.json file.
My code in the tasks.json is as follows:
"version": "2.0.0",
"tasks": [
{
"label": "Cl...
Quart asked 30/7, 2018 at 17:10
1
I have 2 tasks in visual studio code to run 2 different images into containers. Only the last docker run task is recognized by vscode.
This is my tasks.json file
{
"version": "2.0.0...
Expectancy asked 25/12, 2021 at 15:56
10
Solved
On Windows I have to run the command start-ssh-agent.cmd on each new terminal session I open. My development environment is VSCode, and I open a dozen new terminals each day. After each terminal op...
Ferwerda asked 11/8, 2017 at 12:23
1
Solved
I want do develop C programs with vscode.
My tasks.json, which describes the build stage if I understood that correctly, looks like this:
{
"version": "2.0.0",
"tasks&quo...
For asked 10/6, 2020 at 7:21
2
Solved
VSCode added a feature last year that will auto-run a task "on folder open". But what does "on folder open" mean when using workspaces?
Specifically, if you open a workspace, will "runOn": "folde...
Pescara asked 14/11, 2019 at 20:42
2
I want "tasks: Allow Automatic Tasks In Folder" to be enabled by default when i open a project
this is the tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "gulp",
"run...
Past asked 5/6, 2019 at 18:27
6
Upon executing a task (cargo build in this case), the following appears in the VSCode terminal:
> Executing task: cargo build <
(output of the task here)
Terminal will be reused by tasks, ...
Extended asked 22/12, 2017 at 20:11
2
Solved
I configured tasks.json to build and run the application.
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell&q...
Brunell asked 9/6, 2021 at 14:22
4
My goal is to re-use a task window in VS Code. However, when I enter ctrl + c, the task stops, but then writes: "Terminal will be reused by tasks, press any key to close it.".
I don't want to clos...
Coppola asked 27/11, 2019 at 9:43
4
I'm using Visual Studio Code (Version 1.8.1) on Linux. When there is a build error and I click on the line that contains the error it doesn't jump to the corresponding line in the code. Is there a ...
Ferris asked 25/1, 2017 at 12:18
2
I tried to set environment variables for my Visual Studio Code tasks that will run in my Windows Subsystem Linux. However, it does not seem to work. Here is my tasks.json:
{
// See https://go.mic...
Eryn asked 23/10, 2018 at 16:15
1
How can I open a specific file in a specified split view with an built-in command in VS codium? Is that possible without writing an extension?
I have a project, and I periodically I want to open a ...
Candace asked 5/5, 2022 at 16:3
3
Solved
I'm trying to be able to have a keyboard shortcut that creates a new file with the datetime as the prefix and some additional text that I enter.
I know there is a shortcut for generating a new fil...
Interjacent asked 16/3, 2020 at 1:31
1
We need a Visual Studio Code extension that monitors a specific folder on the file system, and when the contents of the folder change, it should trigger some action.
Can an extension do that?
I sup...
Bornite asked 2/12, 2021 at 7:56
3
Solved
I try to create a simple regex-find and replace task in Visual Studio Code.
Currently I copy from the AD some Users to a temporary file in Visual Studio code and remove the "CN=" at the beginning...
Daiseydaisi asked 3/4, 2018 at 13:59
3
I'm on a Mac đź’». I'm trying to explore a way to create 4 Terminals as soon as I dbl-clicked on my workspace file.
I've tried to get one working, but I seem stuck
{
"folders": [
{
"path": "/User...
Oratory asked 10/3, 2020 at 15:56
1
What is the working directory of a Visual Studio Code task?
According to the official documentation, the default should be the workspace directory, i.e., workspaceFolder, but running a task which s...
Shovelnose asked 2/5, 2021 at 9:11
1
Earlier, I created my ASP.NET Core web app using the 6.0 preview build, and I was able to debug it in VSCode.
Then, I upgraded my app to the final 6.0 release a week ago. Since then I could no long...
Dilative asked 25/11, 2021 at 16:8
6
Solved
I have created a new .NET Core application with the command:
dotnet new console -o test
When I try to run it in the Visual Studio Code debugger, I get:
Could not find the preLaunchTask 'build'?...
Runck asked 26/4, 2017 at 7:33
2
Solved
I am trying to use environment variables within task in my tasks.json file of a C# project in vscode.
In my launch.json file I have this code to parse a .env file:
"configurations": [
{
...
"e...
Amorita asked 19/9, 2019 at 10:36
© 2022 - 2024 — McMap. All rights reserved.