mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Suggestion: tsconfig.*.json should be detected as jsonc. Fixes #50974
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user