From 2edb93677a0f29ae26a3e2ff18479f7c3cf7f9a6 Mon Sep 17 00:00:00 2001 From: Morgan Chang Date: Tue, 29 Sep 2026 16:10:59 -0400 Subject: [PATCH] change formatter setting scope from window to resource Signed-off-by: Morgan Chang --- package.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9cf8969b..2d21e23a 100644 --- a/package.json +++ b/package.json @@ -179,12 +179,14 @@ "yaml.format.singleQuote": { "type": "boolean", "default": false, - "description": "Use single quotes instead of double quotes" + "description": "Use single quotes instead of double quotes", + "scope": "resource" }, "yaml.format.bracketSpacing": { "type": "boolean", "default": true, - "description": "Print spaces between brackets in objects" + "description": "Print spaces between brackets in objects", + "scope": "resource" }, "yaml.format.proseWrap": { "type": "string", @@ -194,17 +196,20 @@ "never", "always" ], - "description": "Always: wrap prose if it exceeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is" + "description": "Always: wrap prose if it exceeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is", + "scope": "resource" }, "yaml.format.printWidth": { "type": "integer", "default": 80, - "description": "Specify the line length that the printer will wrap on" + "description": "Specify the line length that the printer will wrap on", + "scope": "resource" }, "yaml.format.trailingComma": { "type": "boolean", "default": true, - "description": "Specify if trailing commas should be used in JSON-like segments of the YAML" + "description": "Specify if trailing commas should be used in JSON-like segments of the YAML", + "scope": "resource" }, "yaml.validate": { "type": "boolean",