All Articles

Cross Platform development with VS Code

Published 11 Sep 2017

A quick tip for when using Visual Studio Code in a cross platform team. You may have tasks (in the tasks.json) config file. They may be specific for Bash or Powershell (such as in my case).

VS Code allows specific platform properties. So in my case I have the tasks use Bash for my Mac, whereas the other developers use Powershell on Windows. It’s as simple as defining an override for your platform like so (OSX):

Tasks.json example


Andrew Ford on Twitter
Front End Web Developer from Tauranga, New Zealand

This work is licensed under a Creative Commons Attribution 4.0 International License.