Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98698

Create tasks in Visual Studio Code per user

$
0
0

When I created a Node task for Visual Studio Code it created a tasks.json file inside the .settings folder for the folder that you have open (node-app in this case as shown in the image below). ie: it creates a task per 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 rather than a project based task so that I can execute the node code from any folder rather that having to create the same task for each folder you open in Visual Studio Code.

Also how do you execute individual files without opening a folder.


Viewing all articles
Browse latest Browse all 98698

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>