mirror of
https://github.com/Microsoft/vscode
synced 2024-10-31 01:12:58 +00:00
7a5bca9faf
it should avoid to have "warning XXX: No license field" during yarn build Signed-off-by: Aurélien Pupier <apupier@redhat.com>
64 lines
1.1 KiB
JSON
64 lines
1.1 KiB
JSON
{
|
|
"name": "php",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "0.10.x"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "php",
|
|
"extensions": [
|
|
".php",
|
|
".php4",
|
|
".php5",
|
|
".phtml",
|
|
".ctp"
|
|
],
|
|
"aliases": [
|
|
"PHP",
|
|
"php"
|
|
],
|
|
"firstLine": "^#!\\s*/.*\\bphp\\b",
|
|
"mimetypes": [
|
|
"application/x-php"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "php",
|
|
"scopeName": "source.php",
|
|
"path": "./syntaxes/php.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "php",
|
|
"scopeName": "text.html.php",
|
|
"path": "./syntaxes/html.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.snippets.json"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"update-grammar": "node ./build/update-grammar.js"
|
|
}
|
|
}
|