Created
September 17, 2018 18:46
-
-
Save daniel08s/d0cc93095672aed6e57be13277410c7c to your computer and use it in GitHub Desktop.
VS Code - Tasks to open files in browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
// Open in Chrome | |
{ | |
"label": "Open in Chrome", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"type": "process", | |
"command": "Chrome", | |
"windows": { | |
"command": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" | |
}, | |
"args": ["${file}"] | |
}, | |
// Open in Firefox | |
{ | |
"label": "Open in Firefox", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"type": "process", | |
"command": "Firefox", | |
"windows": { | |
"command": "C:/Program Files/Mozilla Firefox/firefox.exe" | |
}, | |
"args": ["${file}"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment