vscode/extensions/php/package.json

55 lines
1.3 KiB
JSON
Raw Normal View History

2015-11-13 21:39:38 +08:00
{
"name": "php",
"version": "0.1.0",
"publisher": "vscode",
2016-03-16 19:29:29 +08:00
"engines": { "vscode": "0.10.x" },
2015-11-13 21:39:38 +08:00
"activationEvents": ["onLanguage:php"],
"main": "./out/phpMain",
2016-03-03 22:12:19 +08:00
"dependencies": {
"vscode-nls": "^1.0.4"
},
2015-11-13 21:39:38 +08:00
"contributes": {
"languages": [{
"id": "php",
"extensions": [ ".php", ".php4", ".php5", ".phtml", ".ctp" ],
2015-11-13 21:39:38 +08:00
"aliases": [ "PHP", "php" ],
"mimetypes": ["application/x-php"],
"configuration": "./php.configuration.json"
}],
"grammars": [{
"language": "php",
"scopeName": "text.html.php",
"path": "./syntaxes/php.json"
}],
2015-11-13 21:39:38 +08:00
"snippets": [{
"language": "php",
"path": "./snippets/php.json"
}],
"configuration": {
"title": "%configuration.title%",
2015-11-13 21:39:38 +08:00
"type": "object",
"properties": {
2015-12-04 19:32:00 +08:00
"php.validate.enable": {
"type": "boolean",
"default": true,
"description": "%configuration.validate.enable%"
2015-12-04 19:32:00 +08:00
},
2015-11-13 21:39:38 +08:00
"php.validate.executablePath": {
"type": ["string", "null"],
2015-11-13 21:39:38 +08:00
"default": null,
"description": "%configuration.validate.executablePath%"
2015-11-13 21:39:38 +08:00
},
"php.validate.run": {
"type": "string",
"enum": ["onSave", "onType"],
"default": "onSave",
"description": "%configuration.validate.run%"
2015-11-13 21:39:38 +08:00
}
}
}
},
"scripts": {
"compile": "gulp compile-extension:php",
"watch": "gulp watch-extension:php"
2015-11-13 21:39:38 +08:00
}
}