VSCode Tooling¶
Snippets¶
Download fathom.code-snippets and drop it
into .vscode/ at your repo root. Available prefixes:
fathom-template— template skeletonfathom-rule— rule skeletonfathom-module— module skeletonfathom-function— function skeletonfathom-schema—yaml-language-serverschema association header
JSON Schema association¶
Add to your workspace .vscode/settings.json:
{
"yaml.schemas": {
"https://fathom-rules.dev/reference/yaml/schemas/rule.schema.json": "rules/*.yaml",
"https://fathom-rules.dev/reference/yaml/schemas/template.schema.json": "templates/*.yaml",
"https://fathom-rules.dev/reference/yaml/schemas/module.schema.json": "modules/*.yaml",
"https://fathom-rules.dev/reference/yaml/schemas/function.schema.json": "functions/*.yaml"
}
}
Or add the yaml-language-server header to the top of any YAML file: