Install a yaml extension - I recommend RedHat’s YAML extension (Hit the install button on the linked page or search for it in the Extensions tab of left nav in VS Code)
Copy the schema Serina made into a file with a JSON extension (I’m putting mine into prefect-deploy.json in my hidden .vscode folder )
Update your settings.json in VSCode with the path to the file like this:
"yaml.schemas": {
"file:///Users/jeffhale/.vscode/prefect-deploy.json": "prefect.yaml",
You can open your settings.json from VSCode with cmd + p and type settings.json.
First check
Prefect Version
2.x
Describe the current behavior
Current schema is out of date
Describe the proposed behavior
Update @serinamarie's schema for recent prefect.yaml deployment changes at https://raw.githubusercontent.com/serinamarie/schemastore/add-prefect-dep-schema/src/schemas/json/prefect-deploy.json
Example Use
Steps to use
Additional context
No response