Dagu YAML intellisense / JSON schema
Dagu YAML intellisense
Found this on a quick web search: https://joshuaavalon.io/intellisense-json-yaml-vs-code https://dev.to/brpaz/how-to-create-your-own-auto-completion-for-json-and-yaml-files-on-vs-code-with-the-help-of-json-schema-k1i
And hopefully in the future we could bring this to the code editor in the web UI
Initial pull request has been made. The instructions for users to import this schema into their IDE is still undocumented. I'm not familiar with those procedures, so feel free to help 🙂
Initial pull request has been made
@fishnux thank you for the schema. For all Jetbrains IDEs https://www.jetbrains.com/help/ruby/yaml.html#remote_json it also works.
For Visual Studio code, you need to install YAML extension by Red Hat and add the following to your settings.json:
"yaml.schemas": {
"https://github.com/dagu-dev/dagu/raw/main/schemas/dag.schema.json": ["/dags/*", "dagu.yml", "dagu.yaml", "*.dagu.yml", "*.dagu.yaml"]
}