[PR #11517] [MERGED] Fix quoted boolean defaults in schema #28628

Open
opened 2026-01-31 09:29:44 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/11517
Author: @SnirBroshi
Created: 10/16/2021
Status: Merged
Merged: 10/18/2021
Merged by: @DHowett

Base: mainHead: patch-4


📝 Commits (1)

  • 8b1514b Fix quoted boolean defaults in schema

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 doc/cascadia/profiles.schema.json (+5 -5)

📄 Description

Summary of the Pull Request

The settings.json schema had "default"s for some boolean settings set as quoted strings ("true" / "false"), so I removed the quotes.

PR Checklist

  • Closes #xxx
  • CLA signed
  • Tests added/passed
  • Documentation updated
  • Schema updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan

Detailed Description of the Pull Request / Additional comments

VSCode autocompletes the default value when you select the setting in intellisense, so it autocompleted a string which caused a schema error. Booleans should be JSON booleans, not quoted.

Validation Steps Performed


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/11517 **Author:** [@SnirBroshi](https://github.com/SnirBroshi) **Created:** 10/16/2021 **Status:** ✅ Merged **Merged:** 10/18/2021 **Merged by:** [@DHowett](https://github.com/DHowett) **Base:** `main` ← **Head:** `patch-4` --- ### 📝 Commits (1) - [`8b1514b`](https://github.com/microsoft/terminal/commit/8b1514b8e2210d441c791c9a7987235efbcb8c67) Fix quoted boolean defaults in schema ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `doc/cascadia/profiles.schema.json` (+5 -5) </details> ### 📄 Description ## Summary of the Pull Request The `settings.json` schema had `"default"`s for some boolean settings set as quoted strings (`"true"` / `"false"`), so I removed the quotes. ## PR Checklist * [ ] Closes #xxx * [x] CLA signed * [ ] Tests added/passed * [ ] Documentation updated * [x] Schema updated * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan ## Detailed Description of the Pull Request / Additional comments VSCode autocompletes the default value when you select the setting in intellisense, so it autocompleted a string which caused a schema error. Booleans should be JSON booleans, not quoted. ## Validation Steps Performed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:29:44 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28628