Add Tekton CRD Schema to JSON Schema Store for YAML extension used in VS Code #4688
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Feature request
When using the YAML extension by Red Hat in VSCode during the writing YAML files, the files are showing errors when the
kind
is set toTask
,Pipeline
, etc, which are specific to Tekton. This extension fetches all the schemas from JSON Schema Store Website and matches our input with them. On this website, most of the schemas of the current CNCF tools are present, apart from Tekton.Since the Tekton schema is not present in the database, it is not fetched by the extension, and therefore throws an error, when such keywords are mentioned.
This makes writing Tekton files difficult when working with VS Code and having the YAML extension installed. The workaround is to disable the extension to continue writing Tekton YAML files.
Therefore it would be great if the Tekton JSON schema is made available on the JSON Schema Store Website so that the YAML extension can save it in the database and can provide IntelliSense while writing Tekton files.
Use case
Creating the JSON schema for all the CRDs of Tekton Pipelines and uploading it to the JSON Schema Store Website](https://www.schemastore.org/json/), will help developers work on Tekton files without disabling the YAML extension by Red Hat](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml).
This will aid users with IntelliSense and other code completion features that the YAML Extension provides.
The text was updated successfully, but these errors were encountered: