Skip to content

Export args to a schema file so that YAML language servers can understand config files #288

Open
@RmZeta2718

Description

@RmZeta2718

Is your feature request related to a problem? Please describe.
Currently, YAML config files are not understood by YAML language servers, and hence auto completion or type checking are not possible when editing config files.

It is really cooooool to have auto completion in yaml, right? I believe it will improve user experience greatly.

Describe the solution you'd like
Provide a new API to export json schema

parser.export_schema(path='path/to/schema.json')

And then I can manually configure my YAML language server (in VSCode, for example) using schema.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Not criticalWould be nice to fix, but not critical.enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions