vscode/extensions/php-language-features/package.json
mxwj 018ff30de3
Some checks failed
Monaco Editor checks / Monaco Editor checks (push) Has been cancelled
Initial commit
2024-11-15 14:29:18 +08:00

88 lines
2.1 KiB
JSON

{
"name": "php-language-features",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"icon": "icons/logo.png",
"engines": {
"vscode": "0.10.x"
},
"activationEvents": [
"onLanguage:php"
],
"main": "./out/phpMain",
"categories": [
"Programming Languages"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": "limited",
"description": "%workspaceTrust%",
"restrictedConfigurations": [
"php.validate.executablePath"
]
}
},
"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%",
"scope": "machine-overridable"
},
"php.validate.run": {
"type": "string",
"enum": [
"onSave",
"onType"
],
"default": "onSave",
"description": "%configuration.validate.run%"
}
}
},
"jsonValidation": [
{
"fileMatch": "composer.json",
"url": "https://getcomposer.org/schema.json"
}
]
},
"scripts": {
"compile": "npx gulp compile-extension:php-language-features",
"watch": "npx gulp watch-extension:php-language-features"
},
"dependencies": {
"which": "^2.0.2"
},
"devDependencies": {
"@types/node": "20.x",
"@types/which": "^2.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}