Skip to content

Keep automatic schema detection for more specific extensions out of user settings - #1277

Merged
datho7561 merged 2 commits into
redhat-developer:mainfrom
shin19991207:fix-1271
Jul 30, 2026
Merged

Keep automatic schema detection for more specific extensions out of user settings#1277
datho7561 merged 2 commits into
redhat-developer:mainfrom
shin19991207:fix-1271

Conversation

@shin19991207

@shin19991207 shin19991207 commented Jul 30, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Previously, if another enabled extension provides more specific YAML support, file patterns associated with the extension were written directly to the user's yaml.disableSchemaDetection setting.

This PR keeps the automatic schema detection internal.

Also, updates @vscode/test-electron to fix macOS VSCode build issue (requires Node >= 22).

What issues does this PR fix or reference?

Fixes #1271

Is it tested? How?

  • Automated tests
  • Tested manually

…ser settings

Signed-off-by: Morgan Chang <shin19991207@gmail.com>
@shin19991207
shin19991207 requested a review from datho7561 as a code owner July 30, 2026 17:11
@shin19991207 shin19991207 changed the title keep automatic schema detection for more specific extensions out of user settings Keep automatic schema detection for more specific extensions out of user settings Jul 30, 2026
Signed-off-by: Morgan Chang <shin19991207@gmail.com>

@datho7561 datho7561 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works well from my testing. Thanks, Morgan!

I also ran into the macOS testing bug in vscode-xml. Thanks for addressing it here!

@datho7561
datho7561 merged commit 939c313 into redhat-developer:main Jul 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflict with Azure-Pipelines extension

2 participants