vscode-yaml
vscode-yaml copied to clipboard
Add jinja-yml support for YAML json schemas.
Add jinja-yml support for YAML json schemas.
Autocomplete and JSON schema works correctly for YAML file association but not for Jinja-yml
Describe the solution you would like
When using this JSON schema with my YML files,
"yaml.schemas": {
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/dbt_yml_files-latest.json": [
"/**/*.yml",
"!profiles.yml",
"!dbt_project.yml",
"!packages.yml",
"!selectors.yml",
"!profile_template.yml",
"!package-lock.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/dbt_project-latest.json": [
"dbt_project.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/selectors-latest.json": [
"selectors.yml"
],
"https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/packages-latest.json": [
"packages.yml"
]
},
it is correctly integrated
When trying to do the same with jinja-yaml, it isn't available.
In fact I think it kind of crashes the extension. See this issue.