From e3b7a44b13e9a9fe8abc822eb34516dd52e7a114 Mon Sep 17 00:00:00 2001 From: WSLUser <33032910+WSLUser@users.noreply.github.com> Date: Tue, 22 Jun 2021 18:05:00 -0400 Subject: [PATCH] Add Settings UI enum to json schema (#10489) Noticed the json schema was listing the option as invalid even though it's accepted by WT. So added it to schema to remove the error. ## PR Checklist * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [x] Schema updated. ## Validation Steps Performed No longer shows as invalid in VSCode. --- doc/cascadia/profiles.schema.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index 66e914fa9c..ac27a5b199 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -546,12 +546,14 @@ "action": { "type": "string", "pattern": "openSettings" }, "target": { "type": "string", - "default": "settingsFile", - "description": "The settings file to open.", + "default": "settingsUI", + "description": "Opens Settings UI or settings file.", "enum": [ "settingsFile", "defaultsFile", - "allFiles" + "allFiles", + "settingsUI" + ] } }