package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "php",
  3. "displayName": "%displayName%",
  4. "description": "%description%",
  5. "version": "1.0.0",
  6. "publisher": "vscode",
  7. "license": "MIT",
  8. "engines": {
  9. "vscode": "0.10.x"
  10. },
  11. "categories": ["Programming Languages"],
  12. "contributes": {
  13. "languages": [
  14. {
  15. "id": "php",
  16. "extensions": [
  17. ".php",
  18. ".php4",
  19. ".php5",
  20. ".phtml",
  21. ".ctp"
  22. ],
  23. "aliases": [
  24. "PHP",
  25. "php"
  26. ],
  27. "firstLine": "^#!\\s*/.*\\bphp\\b",
  28. "mimetypes": [
  29. "application/x-php"
  30. ],
  31. "configuration": "./language-configuration.json"
  32. }
  33. ],
  34. "grammars": [
  35. {
  36. "language": "php",
  37. "scopeName": "source.php",
  38. "path": "./syntaxes/php.tmLanguage.json"
  39. },
  40. {
  41. "language": "php",
  42. "scopeName": "text.html.php",
  43. "path": "./syntaxes/html.tmLanguage.json",
  44. "embeddedLanguages": {
  45. "text.html": "html",
  46. "source.php": "php",
  47. "source.sql": "sql",
  48. "text.xml": "xml",
  49. "source.js": "javascript",
  50. "source.json": "json",
  51. "source.css": "css"
  52. }
  53. }
  54. ],
  55. "snippets": [
  56. {
  57. "language": "php",
  58. "path": "./snippets/php.code-snippets"
  59. }
  60. ]
  61. },
  62. "scripts": {
  63. "update-grammar": "node ./build/update-grammar.mjs"
  64. },
  65. "repository": {
  66. "type": "git",
  67. "url": "https://github.com/microsoft/vscode.git"
  68. }
  69. }