mirror of
https://github.com/swarm-game/swarm.git
synced 2024-09-11 14:46:33 +03:00
Fix example schema settings for VSCode
I accidentally git cleaned my .vscode folder and realized that the example settings were actually wrong. Now they should cover more schemas and actually work.
This commit is contained in:
parent
68333dd70a
commit
77e1c2ceb1
@ -61,13 +61,19 @@ the [YAML extension](https://open-vsx.org/extension/redhat/vscode-yaml)
|
||||
installed.
|
||||
|
||||
To point the editor to the right schema for scenarios in this repository,
|
||||
you can use this `setting.json`:
|
||||
you can use this `settings.json`:
|
||||
```JSON
|
||||
{
|
||||
"yaml.schemas": {
|
||||
"https://raw.githubusercontent.com/swarm-game/swarm/main/scenario.json": [
|
||||
"https://raw.githubusercontent.com/swarm-game/swarm/main/data/schema/scenario.json": [
|
||||
"data/scenarios/*.yaml",
|
||||
"data/scenarios/**/*.yaml"
|
||||
],
|
||||
"https://raw.githubusercontent.com/swarm-game/swarm/main/data/schema/entities.json": [
|
||||
"data/entities.yaml"
|
||||
],
|
||||
"https://raw.githubusercontent.com/swarm-game/swarm/main/data/schema/recipes.json": [
|
||||
"data/recipes.yaml"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user