Skip to content

Instantly share code, notes, and snippets.

@2shrestha22
Last active October 8, 2018 06:48
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 2shrestha22/428b036071bde46c1c21b02780e2bf9f to your computer and use it in GitHub Desktop.
Save 2shrestha22/428b036071bde46c1c21b02780e2bf9f to your computer and use it in GitHub Desktop.
Opening .php files directly from VS Code
{
//run in chrome task
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"command": "chrome",
"tasks": [
{
"label": "Run in Chrome",
"windows": {
"command": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
},
"args": [
"localhost/${workspaceRootFolderName}/${fileBasename}"
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment