Create tasks in Visual Studio Code for each user

When I created Node problem for Visual Studio code , it creates a file tasks.json inside the folder .settings to open folder (node -app in this case, as shown in the figure below). ie: it creates a task for each folder.

{
    "version": "0.1.0",
    "command": "node",
    "isShellCommand": true,
    "args": ["${file}"]
}

      

enter image description here

My question is how do you create a task per user, not a project based task, so that I can execute Node code from any folder, but have to create the same task for every folder you open in Visual Studio Code.

Just like you execute individual files without opening a folder.

+3


source to share





All Articles