mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
105 lines
2.7 KiB
JSON
105 lines
2.7 KiB
JSON
{
|
|
"name": "javascript",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "0.10.x"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "javascriptreact",
|
|
"aliases": [
|
|
"JavaScript React",
|
|
"jsx"
|
|
],
|
|
"extensions": [
|
|
".jsx"
|
|
],
|
|
"configuration": "./javascript-language-configuration.json"
|
|
},
|
|
{
|
|
"id": "javascript",
|
|
"aliases": [
|
|
"JavaScript",
|
|
"javascript",
|
|
"js"
|
|
],
|
|
"extensions": [
|
|
".js",
|
|
".es6",
|
|
".mjs",
|
|
".cjs",
|
|
".pac"
|
|
],
|
|
"filenames": [
|
|
"jakefile"
|
|
],
|
|
"firstLine": "^#!.*\\bnode",
|
|
"mimetypes": [
|
|
"text/javascript"
|
|
],
|
|
"configuration": "./javascript-language-configuration.json"
|
|
},
|
|
{
|
|
"id": "jsx-tags",
|
|
"aliases": [],
|
|
"configuration": "./tags-language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "javascriptreact",
|
|
"scopeName": "source.js.jsx",
|
|
"path": "./syntaxes/JavaScriptReact.tmLanguage.json",
|
|
"embeddedLanguages": {
|
|
"meta.tag.js": "jsx-tags",
|
|
"meta.tag.without-attributes.js": "jsx-tags",
|
|
"meta.tag.attributes.js.jsx": "javascriptreact",
|
|
"meta.embedded.expression.js": "javascriptreact"
|
|
},
|
|
"tokenTypes": {
|
|
"entity.name.type.instance.jsdoc": "other",
|
|
"entity.name.function.tagged-template": "other",
|
|
"meta.import string.quoted": "other",
|
|
"variable.other.jsdoc": "other"
|
|
}
|
|
},
|
|
{
|
|
"language": "javascript",
|
|
"scopeName": "source.js",
|
|
"path": "./syntaxes/JavaScript.tmLanguage.json",
|
|
"embeddedLanguages": {
|
|
"meta.tag.js": "jsx-tags",
|
|
"meta.tag.without-attributes.js": "jsx-tags",
|
|
"meta.tag.attributes.js": "javascript",
|
|
"meta.embedded.expression.js": "javascript"
|
|
},
|
|
"tokenTypes": {
|
|
"entity.name.type.instance.jsdoc": "other",
|
|
"entity.name.function.tagged-template": "other",
|
|
"meta.import string.quoted": "other",
|
|
"variable.other.jsdoc": "other"
|
|
}
|
|
},
|
|
{
|
|
"scopeName": "source.js.regexp",
|
|
"path": "./syntaxes/Regular Expressions (JavaScript).tmLanguage"
|
|
}
|
|
],
|
|
"snippets": [
|
|
{
|
|
"language": "javascript",
|
|
"path": "./snippets/javascript.json"
|
|
},
|
|
{
|
|
"language": "javascriptreact",
|
|
"path": "./snippets/javascript.json"
|
|
}
|
|
]
|
|
}
|
|
}
|