From a6c6eecca2c9e982b0fbb24cee02b7a9e136f522 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 5 Oct 2022 12:00:58 -0700 Subject: [PATCH] Make array settings give a warning for duplicates. --- Extension/package.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Extension/package.json b/Extension/package.json index a3c1595af9..b0690d70d2 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -506,6 +506,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.codeAnalysis.clangTidy.args.markdownDescription%", "scope": "resource" }, @@ -1059,6 +1060,7 @@ "zircon-temporary-objects" ] }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.codeAnalysis.clangTidy.checks.enabled.markdownDescription%", "scope": "resource" }, @@ -1606,6 +1608,7 @@ "zircon-temporary-objects" ] }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.codeAnalysis.clangTidy.checks.disabled.markdownDescription%", "scope": "resource" }, @@ -2387,6 +2390,7 @@ } ] }, + "uniqueItems": true, "description": "%c_cpp.configuration.commentContinuationPatterns.description%", "scope": "window" }, @@ -2433,6 +2437,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.includePath.markdownDescription%", "scope": "machine-overridable" }, @@ -2441,6 +2446,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.defines.markdownDescription%", "scope": "machine-overridable" }, @@ -2449,6 +2455,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.macFrameworkPath.markdownDescription%", "scope": "machine-overridable" }, @@ -2468,6 +2475,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.forcedInclude.markdownDescription%", "scope": "machine-overridable" }, @@ -2530,6 +2538,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.compilerArgs.markdownDescription%", "scope": "machine-overridable" }, @@ -2587,6 +2596,7 @@ "type": "string" }, "default": null, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.browse.path.markdownDescription%", "scope": "machine-overridable" }, @@ -2606,6 +2616,7 @@ "items": { "type": "string" }, + "uniqueItems": true, "markdownDescription": "%c_cpp.configuration.default.systemIncludePath.markdownDescription%", "scope": "machine-overridable" },