Working with YAML - DW2MC/DW2ModLoader GitHub Wiki

1. Install Visual Studio Code

2. Install the YAML extension

On the extensions panel, search for and install Red Hat's YAML extension. Red Hat's YAML extension

3. Extract dw2mc-schema-vscode.zip

Download and extract the above linked schema zip to the directory of the mod you are working on so that it's in the same folder as your .yml files.

Extract location

4. Work on your mod

Use Visual Studio Code to open the entire folder your mod is inside so that it also reads the schema file. opening folder folder opened

The YAML schema will now give you suggestions for auto-completion while you work on your YAML mods and will also give you warnings on potential errors.

auto-complete example