Working with YAML - DW2MC/DW2ModLoader GitHub Wiki
Install Visual Studio Code
1.2. Install the YAML extension
On the extensions panel, search for and install Red Hat's YAML extension.
dw2mc-schema-vscode.zip
3. ExtractDownload 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.
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.
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.