From 840eb7271bf446d7f0772d1692ff351deb4d6214 Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Tue, 14 Jan 2025 05:28:25 -0500 Subject: [PATCH] Add item schema to `metals.excludedPackages` setting This just ensures that the non-JSON view of settings in VS code will provide a GUI way of visualizing and updating the list of strings. --- packages/metals-vscode/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/metals-vscode/package.json b/packages/metals-vscode/package.json index 4d368255..c6fbd9ff 100644 --- a/packages/metals-vscode/package.json +++ b/packages/metals-vscode/package.json @@ -257,6 +257,9 @@ }, "metals.excludedPackages": { "type": "array", + "items": { + "type": "string" + }, "default": [], "markdownDescription": "List of packages you'd like to be left out of completions, symbol searches, and code actions.\n\nEx. `akka.actor.typed.javadsl` will ensure nothing in the `javadsl` package gets recommended to you.\n\nYou can find the list of default exclusions [here on the Metals website](https://scalameta.org/metals/docs/editors/user-configuration/#excluded-packages).\n\nIf you need to remove one of the defaults, you can simply include it and preface it with `--`." },