2015-11-13 13:39:38 +00:00
|
|
|
{
|
|
|
|
"name": "php",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"publisher": "vscode",
|
2017-02-01 23:20:17 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "0.10.x"
|
|
|
|
},
|
|
|
|
"activationEvents": [
|
|
|
|
"onLanguage:php"
|
|
|
|
],
|
2015-11-13 13:39:38 +00:00
|
|
|
"main": "./out/phpMain",
|
2016-03-03 14:12:19 +00:00
|
|
|
"dependencies": {
|
|
|
|
"vscode-nls": "^1.0.4"
|
|
|
|
},
|
2015-11-13 13:39:38 +00:00
|
|
|
"contributes": {
|
2017-02-01 23:20:17 +00:00
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "php",
|
|
|
|
"extensions": [
|
|
|
|
".php",
|
|
|
|
".php4",
|
|
|
|
".php5",
|
|
|
|
".phtml",
|
|
|
|
".ctp"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"PHP",
|
|
|
|
"php"
|
|
|
|
],
|
2017-09-14 21:45:16 +00:00
|
|
|
"firstLine": "^#!/.*\\bphp\\b",
|
2017-02-01 23:20:17 +00:00
|
|
|
"mimetypes": [
|
|
|
|
"application/x-php"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "php",
|
|
|
|
"scopeName": "text.html.php",
|
|
|
|
"path": "./syntaxes/php.tmLanguage.json",
|
|
|
|
"embeddedLanguages": {
|
|
|
|
"text.html": "html",
|
|
|
|
"source.php": "php",
|
|
|
|
"source.sql": "sql",
|
|
|
|
"text.xml": "xml",
|
|
|
|
"source.js": "javascript",
|
|
|
|
"source.json": "json",
|
|
|
|
"source.css": "css"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"snippets": [
|
|
|
|
{
|
|
|
|
"language": "php",
|
|
|
|
"path": "./snippets/php.json"
|
2016-10-27 12:57:12 +00:00
|
|
|
}
|
2017-02-01 23:20:17 +00:00
|
|
|
],
|
2015-11-13 13:39:38 +00:00
|
|
|
"configuration": {
|
2016-03-15 16:07:06 +00:00
|
|
|
"title": "%configuration.title%",
|
2015-11-13 13:39:38 +00:00
|
|
|
"type": "object",
|
2016-06-27 16:35:39 +00:00
|
|
|
"order": 20,
|
2015-11-13 13:39:38 +00:00
|
|
|
"properties": {
|
2017-01-23 14:24:59 +00:00
|
|
|
"php.suggest.basic": {
|
2017-01-23 06:15:49 +00:00
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2017-01-23 14:24:59 +00:00
|
|
|
"description": "%configuration.suggest.basic%"
|
2017-01-23 06:15:49 +00:00
|
|
|
},
|
2015-12-04 11:32:00 +00:00
|
|
|
"php.validate.enable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
2016-03-15 16:07:06 +00:00
|
|
|
"description": "%configuration.validate.enable%"
|
2015-12-04 11:32:00 +00:00
|
|
|
},
|
2015-11-13 13:39:38 +00:00
|
|
|
"php.validate.executablePath": {
|
2017-02-01 23:20:17 +00:00
|
|
|
"type": [
|
|
|
|
"string",
|
|
|
|
"null"
|
|
|
|
],
|
2015-11-13 13:39:38 +00:00
|
|
|
"default": null,
|
2017-01-31 10:23:52 +00:00
|
|
|
"description": "%configuration.validate.executablePath%"
|
2015-11-13 13:39:38 +00:00
|
|
|
},
|
|
|
|
"php.validate.run": {
|
|
|
|
"type": "string",
|
2017-02-01 23:20:17 +00:00
|
|
|
"enum": [
|
|
|
|
"onSave",
|
|
|
|
"onType"
|
|
|
|
],
|
2015-11-13 13:39:38 +00:00
|
|
|
"default": "onSave",
|
2016-03-15 16:07:06 +00:00
|
|
|
"description": "%configuration.validate.run%"
|
2015-11-13 13:39:38 +00:00
|
|
|
}
|
|
|
|
}
|
2016-08-19 09:06:43 +00:00
|
|
|
},
|
|
|
|
"jsonValidation": [
|
|
|
|
{
|
|
|
|
"fileMatch": "composer.json",
|
|
|
|
"url": "https://getcomposer.org/schema.json"
|
|
|
|
}
|
2017-03-28 07:30:36 +00:00
|
|
|
],
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"title": "%command.untrustValidationExecutable%",
|
|
|
|
"category": "%commands.categroy.php%",
|
|
|
|
"command": "php.untrustValidationExecutable"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"commandPalette": [
|
|
|
|
{
|
|
|
|
"command": "php.untrustValidationExecutable",
|
|
|
|
"when": "php.untrustValidationExecutableContext"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2015-11-13 13:39:38 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2016-03-16 14:12:24 +00:00
|
|
|
"compile": "gulp compile-extension:php",
|
2016-11-22 18:08:23 +00:00
|
|
|
"watch": "gulp watch-extension:php",
|
2017-06-19 09:52:34 +00:00
|
|
|
"update-grammar": "node ./build/update-grammar.js"
|
2017-02-01 23:20:17 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-10-04 09:24:02 +00:00
|
|
|
"@types/node": "7.0.43"
|
2015-11-13 13:39:38 +00:00
|
|
|
}
|
2017-05-13 02:38:35 +00:00
|
|
|
}
|