Skip to content

Remove formatting provider #933

Open
@remcohaszing

Description

@remcohaszing

Is your enhancement related to a problem? Please describe.

yaml-language-server supports formatting YAML files. Under the hood this delegates the formatting to Pretttier. However, this integration is very limited. It doesn’t support Prettier options or a Prettier configuration file.

Additionally, the dependency on Prettier is huge. This isn’t great when yaml-language-server is used as part of a web bundle.

Describe the solution you would like

Remove the formatting provider entirely. Maybe recommend Prettier and their official VS Code extension instead in the readme.

Describe alternatives you have considered

Keep the formatting provider and close this issue.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions