About 17,400 results
Open links in new tab
  1. How to create tasks for a VSCode workspace - Stack Overflow

    But what you could do is take the created tasks.json contents cut and paste it to the .workspace file. Or you could open the .workspace file after the "folders" section type a comma, newline and start typing …

  2. How to create a global tasks in VS Code? (user task)

    Nov 12, 2023 · 2 For VS Code 1.42 and above Use the user tasks.json file, which you can open with the Tasks: Open User Tasks command in the command palette. Upon using it for the first time / when …

  3. How to chain tasks in Visual Studio Code using only tasks.json?

    Apr 27, 2017 · In the latest version of VS Code I don't use tasks.json at all anymore. You can put your commands under the scripts tag in package.json. If you only need two or three consecutive …

  4. How can I run a VSCode command as a task - Stack Overflow

    Dec 20, 2018 · That is a task in tasks.json. When you run that task, the current line in the active editor will be copied down. So I presume if you used "command": …

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

    Aug 9, 2017 · 121 I used the solution from this answer until now, but since Visual Studio Code has now an official support for task prompts I will add it as an answer here. In your tasks.json file, you add the …

  6. Configuring task.json and launch.json for C in vs code

    Apr 19, 2022 · Copy the newly created tasks.json and launch.json files to the .vscode subfolder. Now, say you want to create a new project, e.g. hello2, and you create a folder for it:

  7. How to run multiple tasks in VS Code on build? - Stack Overflow

    According to the VS Code Tasks documentation: group: Defines to which group the task belongs. In the example, it belongs to the test group. Tasks that belong to the test group can be executed by running …

  8. What is the difference between launch.json and tasks.json in visual ...

    Jan 5, 2017 · Why do we have two configurations to setup the build environment in Visual Studio Code? What is the difference between them?

  9. Multiple commands/tasks with Visual Studio Code

    Jul 29, 2015 · The limitation here is that VS Code is limited to a single high level build task/command for a given workspace. Multiple sub-tasks are allowed, but they are limited to using the top level …

  10. VS Code User tasks.json - Stack Overflow

    Oct 17, 2018 · In addition to having tasks in your .code-workspace file and in tasks.json in your open folder, you can now have tasks in a user level tasks.json next to your user settings.json.