Skip to content

Instantly share code, notes, and snippets.

@daniel08s
Created September 17, 2018 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniel08s/d0cc93095672aed6e57be13277410c7c to your computer and use it in GitHub Desktop.
Save daniel08s/d0cc93095672aed6e57be13277410c7c to your computer and use it in GitHub Desktop.
VS Code - Tasks to open files in browser
{
// 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