From b73c976b2a4197e215c1c7d3735cf83f0b3dc039 Mon Sep 17 00:00:00 2001 From: Aiday Marlen Kyzy Date: Thu, 7 Nov 2024 11:41:05 +0100 Subject: [PATCH] Setting defaultColorDecorators setting to false for languages that use # for start of comments (#233303) adding default setting for default color decorators for some languages --- extensions/coffeescript/package.json | 3 ++- extensions/julia/package.json | 7 ++++++- extensions/python/package.json | 3 ++- extensions/ruby/package.json | 7 ++++++- extensions/shellscript/package.json | 3 ++- extensions/yaml/package.json | 3 ++- 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/extensions/coffeescript/package.json b/extensions/coffeescript/package.json index 44f423c7dfc..8480ca1f9ab 100644 --- a/extensions/coffeescript/package.json +++ b/extensions/coffeescript/package.json @@ -49,7 +49,8 @@ ], "configurationDefaults": { "[coffeescript]": { - "diffEditor.ignoreTrimWhitespace": false + "diffEditor.ignoreTrimWhitespace": false, + "editor.defaultColorDecorators": false } } }, diff --git a/extensions/julia/package.json b/extensions/julia/package.json index 31cdd4ce71a..f27b1ca822a 100644 --- a/extensions/julia/package.json +++ b/extensions/julia/package.json @@ -50,6 +50,11 @@ "meta.embedded.inline.sql": "sql" } } - ] + ], + "configurationDefaults": { + "[julia]": { + "editor.defaultColorDecorators": false + } + } } } diff --git a/extensions/python/package.json b/extensions/python/package.json index 543268de715..a1cae47db17 100644 --- a/extensions/python/package.json +++ b/extensions/python/package.json @@ -49,7 +49,8 @@ ], "configurationDefaults": { "[python]": { - "diffEditor.ignoreTrimWhitespace": false + "diffEditor.ignoreTrimWhitespace": false, + "editor.defaultColorDecorators": false } } }, diff --git a/extensions/ruby/package.json b/extensions/ruby/package.json index 70dd99f26b5..8210a7825af 100644 --- a/extensions/ruby/package.json +++ b/extensions/ruby/package.json @@ -66,7 +66,12 @@ "scopeName": "source.ruby", "path": "./syntaxes/ruby.tmLanguage.json" } - ] + ], + "configurationDefaults": { + "[ruby]": { + "editor.defaultColorDecorators": false + } + } }, "repository": { "type": "git", diff --git a/extensions/shellscript/package.json b/extensions/shellscript/package.json index 93333abd313..22ee260005e 100644 --- a/extensions/shellscript/package.json +++ b/extensions/shellscript/package.json @@ -94,7 +94,8 @@ ], "configurationDefaults": { "[shellscript]": { - "files.eol": "\n" + "files.eol": "\n", + "editor.defaultColorDecorators": false } } }, diff --git a/extensions/yaml/package.json b/extensions/yaml/package.json index c7cf9af06fc..9362c55b5e1 100644 --- a/extensions/yaml/package.json +++ b/extensions/yaml/package.json @@ -67,7 +67,8 @@ "editor.insertSpaces": true, "editor.tabSize": 2, "editor.autoIndent": "advanced", - "diffEditor.ignoreTrimWhitespace": false + "diffEditor.ignoreTrimWhitespace": false, + "editor.defaultColorDecorators": false }, "[dockercompose]": { "editor.insertSpaces": true,