Skip to content

feat: schema store support - #327628

Open
baywet wants to merge 3 commits into
microsoft:mainfrom
baywet:feat/schema-store-contributes
Open

feat: schema store support#327628
baywet wants to merge 3 commits into
microsoft:mainfrom
baywet:feat/schema-store-contributes

Conversation

@baywet

@baywet baywet commented Jul 27, 2026

Copy link
Copy Markdown
Member

Closes #325970

Supersedes #327297.

aeschli and others added 2 commits July 27, 2026 09:28
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 27, 2026 13:32
@baywet

baywet commented Jul 27, 2026

Copy link
Copy Markdown
Member Author

CC @aeschli

Copilot AI 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.

Pull request overview

Adds SchemaStore catalog support to JSON language features.

Changes:

  • Registers the public SchemaStore catalog.
  • Loads remote registries through the schema request service.
  • Refreshes associations when trust settings change.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
extensions/json-language-features/package.json Registers the SchemaStore catalog.
extensions/json-language-features/client/src/jsonClient.ts Supports trusted remote registry loading and refreshes.

Comment thread extensions/json-language-features/client/src/jsonClient.ts Outdated

Copilot AI 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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment on lines +574 to +577
getSchemaAssociations(true, true).then(associations => {
schemaAssociationRefreshIncludesRemoteRegistries = true;
client.sendNotification(SchemaAssociationNotification.type, associations);
});
: await getRegistryContent(registryUri.toString(true));
const registry = <{ schemas?: { url?: string; fileMatch?: string[] }[] }>JSON.parse(rawStr);
if (Array.isArray(registry.schemas)) {
const result: ISchemaAssociation[] = [];
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.

3 participants