From d03c5bb90cbd734afa4d6679d43ddde289952577 Mon Sep 17 00:00:00 2001 From: Brian Kroth Date: Tue, 3 Oct 2023 17:18:14 -0500 Subject: [PATCH] Attempting to add json (with comments) syntax highlighting .jsonc file extensions --- src/language/json/monaco.contribution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/json/monaco.contribution.ts b/src/language/json/monaco.contribution.ts index 3f9544c6..362e1c89 100644 --- a/src/language/json/monaco.contribution.ts +++ b/src/language/json/monaco.contribution.ts @@ -217,7 +217,7 @@ function getMode(): Promise { languages.register({ id: 'json', - extensions: ['.json', '.bowerrc', '.jshintrc', '.jscsrc', '.eslintrc', '.babelrc', '.har'], + extensions: ['.json', '.jsonc', '.bowerrc', '.jshintrc', '.jscsrc', '.eslintrc', '.babelrc', '.har'], aliases: ['JSON', 'json'], mimetypes: ['application/json'] });