mirror of
https://github.com/Microsoft/vscode
synced 2024-10-31 01:12:58 +00:00
a4c3e74748
Fixes #48976
132 lines
No EOL
3.5 KiB
JSON
132 lines
No EOL
3.5 KiB
JSON
{
|
|
"name": "javascript",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"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",
|
|
".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"
|
|
}
|
|
],
|
|
"jsonValidation": [
|
|
{
|
|
"fileMatch": ".bowerrc",
|
|
"url": "https://schemastore.azurewebsites.net/schemas/json/bowerrc.json"
|
|
},
|
|
{
|
|
"fileMatch": ".babelrc",
|
|
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
|
|
},
|
|
{
|
|
"fileMatch": ".babelrc.json",
|
|
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
|
|
},
|
|
{
|
|
"fileMatch": "jsconfig.json",
|
|
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
|
|
},
|
|
{
|
|
"fileMatch": "jsconfig.json",
|
|
"url": "./schemas/jsconfig.schema.json"
|
|
},
|
|
{
|
|
"fileMatch": "jsconfig.*.json",
|
|
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
|
|
},
|
|
{
|
|
"fileMatch": "jsconfig.*.json",
|
|
"url": "./schemas/jsconfig.schema.json"
|
|
}
|
|
]
|
|
}
|
|
} |