Cross Platform development with VS Code

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
Tasks.json example