提交 ab867d90 编写于 作者: R Rob Lourens

Fix #46148 - split PHP extension

上级 213dcf8f
{
"name": "php-language-features",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"icon": "icons/logo.png",
"engines": {
"vscode": "0.10.x"
},
"activationEvents": [
"onLanguage:php"
],
"main": "./out/phpMain",
"dependencies": {
"vscode-nls": "^3.2.1"
},
"contributes": {
"configuration": {
"title": "%configuration.title%",
"type": "object",
"order": 20,
"properties": {
"php.suggest.basic": {
"type": "boolean",
"default": true,
"description": "%configuration.suggest.basic%"
},
"php.validate.enable": {
"type": "boolean",
"default": true,
"description": "%configuration.validate.enable%"
},
"php.validate.executablePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "%configuration.validate.executablePath%"
},
"php.validate.run": {
"type": "string",
"enum": [
"onSave",
"onType"
],
"default": "onSave",
"description": "%configuration.validate.run%"
}
}
},
"jsonValidation": [
{
"fileMatch": "composer.json",
"url": "https://getcomposer.org/schema.json"
}
],
"commands": [
{
"title": "%command.untrustValidationExecutable%",
"category": "%commands.categroy.php%",
"command": "php.untrustValidationExecutable"
}
],
"menus": {
"commandPalette": [
{
"command": "php.untrustValidationExecutable",
"when": "php.untrustValidationExecutableContext"
}
]
}
},
"scripts": {
"compile": "gulp compile-extension:php",
"watch": "gulp watch-extension:php"
},
"devDependencies": {
"@types/node": "7.0.43"
}
}
{
"configuration.suggest.basic": "Configures if the built-in PHP language suggestions are enabled. The support suggests PHP globals and variables.",
"configuration.validate.enable": "Enable/disable built-in PHP validation.",
"configuration.validate.executablePath": "Points to the PHP executable.",
"configuration.validate.run": "Whether the linter is run on save or on type.",
"configuration.title": "PHP",
"commands.categroy.php": "PHP",
"command.untrustValidationExecutable": "Disallow PHP validation executable (defined as workspace setting)",
"displayName": "PHP Language Features",
"description": "Provides rich language support for PHP files."
}
\ No newline at end of file
......@@ -4,17 +4,9 @@
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"icon": "icons/logo.png",
"engines": {
"vscode": "0.10.x"
},
"activationEvents": [
"onLanguage:php"
],
"main": "./out/phpMain",
"dependencies": {
"vscode-nls": "^3.2.1"
},
"contributes": {
"languages": [
{
......@@ -63,69 +55,9 @@
"language": "php",
"path": "./snippets/php.snippets.json"
}
],
"configuration": {
"title": "%configuration.title%",
"type": "object",
"order": 20,
"properties": {
"php.suggest.basic": {
"type": "boolean",
"default": true,
"description": "%configuration.suggest.basic%"
},
"php.validate.enable": {
"type": "boolean",
"default": true,
"description": "%configuration.validate.enable%"
},
"php.validate.executablePath": {
"type": [
"string",
"null"
],
"default": null,
"description": "%configuration.validate.executablePath%"
},
"php.validate.run": {
"type": "string",
"enum": [
"onSave",
"onType"
],
"default": "onSave",
"description": "%configuration.validate.run%"
}
}
},
"jsonValidation": [
{
"fileMatch": "composer.json",
"url": "https://getcomposer.org/schema.json"
}
],
"commands": [
{
"title": "%command.untrustValidationExecutable%",
"category": "%commands.categroy.php%",
"command": "php.untrustValidationExecutable"
}
],
"menus": {
"commandPalette": [
{
"command": "php.untrustValidationExecutable",
"when": "php.untrustValidationExecutableContext"
}
]
}
]
},
"scripts": {
"compile": "gulp compile-extension:php",
"watch": "gulp watch-extension:php",
"update-grammar": "node ./build/update-grammar.js"
},
"devDependencies": {
"@types/node": "7.0.43"
}
}
{
"configuration.suggest.basic": "Configures if the built-in PHP language suggestions are enabled. The support suggests PHP globals and variables.",
"configuration.validate.enable": "Enable/disable built-in PHP validation.",
"configuration.validate.executablePath": "Points to the PHP executable.",
"configuration.validate.run": "Whether the linter is run on save or on type.",
"configuration.title": "PHP",
"commands.categroy.php": "PHP",
"command.untrustValidationExecutable": "Disallow PHP validation executable (defined as workspace setting)",
"displayName": "PHP Language Features",
"description": "Provides IntelliSense, linting, and language basics for PHP files."
"description": "Provides syntax highlighting and bracket matching for PHP files."
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册