Skip to content

Extensions: jsonValidation json schema urls should support self-registered schemes #67189

@johnspurlock

Description

@johnspurlock

Version: 1.30.2

Extensions are currently able to declare schemas for json files using the jsonValidation contribution point. The url property can point to an http or https url, or a static local resource. This works for simple, static scenarios.

However, it would be nice if the url could also point to a scheme registered by the extension as providing text content, so the schema could be generated (locally) dynamically. e.g. allow urls of the form custom:/path/to/file.json where custom is a scheme declared in the same extension's package.json.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityjsonJSON support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions