Skip to content

Surface the vscode://schemas/color-theme schema to allow for programmatic use #263108

@gesslar

Description

@gesslar

Either in the repository or from the Theme Color page, providing the schema will allow theme engine developers access to linting, information, in particular to CLI tools where they may not be in a VS Code environment, such as a CI/CD.

After creation of a theme, such tools would be able to validate against the schema, surfacing warnings and errors about the resulting JSON data, such as:

  • invalid property names
  • missing property names
  • incorrect values; ex: some values need to have transparency
  • etc

These are all visible within the UI when viewing and interacting with a theme's JSON, and is fantastic in that context, however, in a non-graphical context, developers need access to the schema to perform any number of validations to ensure correctitude and behavioural consistency.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitythemesColor theme issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions