Skip to content

Commit 72e3dae

Browse files
committed
docs: Describe how to set up VS Code integration
1 parent 4e55656 commit 72e3dae

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

config/schemas/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,16 @@ EOF
8484
```
8585

8686
The output can be tweaked and inserted into `config/schemas/config.yaml` under `.properties`.
87+
88+
## VSCode
89+
90+
The plugin `redhat.vscode-yaml` can provide auto completion, validation and help texts from the schema.
91+
This can be enabled this in other repositories by editing the file `.vscode/settings.json`, adding the path or URL to the schema under the key `.["yaml.schemas"]` like below:
92+
93+
```json
94+
{
95+
"yaml.schemas": {
96+
".../path/to/ck8s-apps/config/schemas/config.yaml": "config/config/*-config.yaml"
97+
}
98+
}
99+
```

0 commit comments

Comments
 (0)