mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
710da39135
The .ember-cli file generated by Ember is JSON with Comments (jsonc): https://github.com/ember-cli/ember-cli/blob/master/blueprints/app/files/.ember-cli I've changed its associated language accordingly because it being the JSON type by default causes red underlines in the generated file.
79 lines
1.6 KiB
JSON
79 lines
1.6 KiB
JSON
{
|
|
"name": "json",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"vscode": "0.10.x"
|
|
},
|
|
"scripts": {
|
|
"update-grammar": "node ./build/update-grammars.js"
|
|
},
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "json",
|
|
"aliases": [
|
|
"JSON",
|
|
"json"
|
|
],
|
|
"extensions": [
|
|
".json",
|
|
".bowerrc",
|
|
".jscsrc",
|
|
".webmanifest",
|
|
".js.map",
|
|
".css.map",
|
|
".ts.map",
|
|
".har",
|
|
".jslintrc",
|
|
".jsonld"
|
|
],
|
|
"filenames": [
|
|
"composer.lock",
|
|
".watchmanconfig"
|
|
],
|
|
"mimetypes": [
|
|
"application/json",
|
|
"application/manifest+json"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
},
|
|
{
|
|
"id": "jsonc",
|
|
"aliases": [
|
|
"JSON with Comments"
|
|
],
|
|
"extensions": [
|
|
".jsonc",
|
|
".eslintrc",
|
|
".eslintrc.json",
|
|
".jsfmtrc",
|
|
".jshintrc",
|
|
".swcrc",
|
|
".hintrc",
|
|
".babelrc"
|
|
],
|
|
"filenames": [
|
|
".ember-cli"
|
|
],
|
|
"configuration": "./language-configuration.json"
|
|
}
|
|
],
|
|
"grammars": [
|
|
{
|
|
"language": "json",
|
|
"scopeName": "source.json",
|
|
"path": "./syntaxes/JSON.tmLanguage.json"
|
|
},
|
|
{
|
|
"language": "jsonc",
|
|
"scopeName": "source.json.comments",
|
|
"path": "./syntaxes/JSONC.tmLanguage.json"
|
|
}
|
|
]
|
|
}
|
|
}
|