mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-27 13:40:25 +00:00
Switches builtin extensions to use @types/node for node definitions. Fixes a few errors that show up as a result of updating to a more modern version of node.d.ts
107 lines
2.1 KiB
JSON
107 lines
2.1 KiB
JSON
{
|
|
"name": "php",
|
|
"version": "0.1.0",
|
|
"publisher": "vscode",
|
|
"engines": {
|
|
"vscode": "0.10.x"
|
|
},
|
|
"activationEvents": [
|
|
"onLanguage:php"
|
|
],
|
|
"main": "./out/phpMain",
|
|
"dependencies": {
|
|
"vscode-nls": "^1.0.4"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "php",
|
|
"extensions": [
|
|
".php",
|
|
".php4",
|
|
".php5",
|
|
".phtml",
|
|
".ctp"
|
|
],
|
|
"aliases": [
|
|
"PHP",
|
|
"php"
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"compile": "gulp compile-extension:php",
|
|
"watch": "gulp watch-extension:php",
|
|
"update-grammar": "node ../../build/npm/update-grammar.js atom/language-php grammars/php.cson ./syntaxes/php.tmLanguage.json"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^7.0.4"
|
|
}
|
|
} |