Skip to content

Commit 1a4d7eb

Browse files
committed
Point VS Code at the local bundle schema for databricks.yml
Map ./bundle/schema/jsonschema.json onto databricks.yml / bundle.yml in .vscode/settings.json so the schema generated in this repo is the one the editor validates and autocompletes against. Co-authored-by: Isaac
1 parent 76cfac5 commit 1a4d7eb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,13 @@
2222
"script": "shellscript",
2323
"script.prepare": "shellscript",
2424
"script.cleanup": "shellscript"
25+
},
26+
"yaml.schemas": {
27+
"./bundle/schema/jsonschema.json": [
28+
"databricks.yml",
29+
"databricks.yaml",
30+
"bundle.yml",
31+
"bundle.yaml",
32+
]
2533
}
2634
}

0 commit comments

Comments
 (0)