Skip to content

[Feature]: add yaml schema for yaml-language-server #17266

@dbydd

Description

@dbydd

Problem or Use Case

currently, modify the config.yaml is really,really pain into the ass!

EVEN WORSE, there is no template for lsp!
In json, we have "$scheme":"" to give us a guide about how to fill correct value to config file, vise versa, in yaml, yaml-language-server also support 'yaml-language-server: $schema=' entry to define scheme of config file
So please add a template so we can make out life much easier

Proposed Solution

add a template file, config.template.yaml, and enable it in config.yaml by yaml-language-server: $schema=

Alternatives Considered

No response

Feature Type

Configuration option

Scope

Small (single file, < 50 lines)

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havearea/configConfig system, migrations, profilestype/featureNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions