Skip to content

Reorder sections #851

@yajo

Description

@yajo

With this file:

[b]
key = 1
[a]
key = 1

Run taplo format -o reorder_keys=true -o reorder_arrays=true -o reorder_inline_tables=true example.toml, and nothing will change.

This is a request for a new -o reorder_sections=true to have sections sorted alphabetically. So it would become:

[a]
key = 1
[b]
key = 1

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions