mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Suggestion: tsconfig.*.json should be detected as jsonc
. Fixes #50974
This commit is contained in:
parent
13471d3b4b
commit
0814ab46f7
|
@ -56,9 +56,7 @@
|
|||
"settings.json",
|
||||
"launch.json",
|
||||
"tasks.json",
|
||||
"keybindings.json",
|
||||
"tsconfig.json",
|
||||
"jsconfig.json"
|
||||
"keybindings.json"
|
||||
],
|
||||
"configuration": "./language-configuration.json"
|
||||
}
|
||||
|
|
|
@ -36,6 +36,17 @@
|
|||
".tsx"
|
||||
],
|
||||
"configuration": "./language-configuration.json"
|
||||
},
|
||||
{
|
||||
"id": "jsonc",
|
||||
"filenames": [
|
||||
"tsconfig.json",
|
||||
"jsconfig.json"
|
||||
],
|
||||
"filenamePatterns": [
|
||||
"tsconfig.*.json",
|
||||
"tsconfig-*.json"
|
||||
]
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
|
@ -91,6 +102,14 @@
|
|||
"fileMatch": "tsconfig.*.json",
|
||||
"url": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig-*.json",
|
||||
"url": "./schemas/tsconfig.schema.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig-*.json",
|
||||
"url": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig.*.json",
|
||||
"url": "./schemas/tsconfig.schema.json"
|
||||
|
|
Loading…
Reference in a new issue