Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: replace toml formatter with taplo #9262

Closed
waynexia opened this issue Feb 18, 2024 · 0 comments · Fixed by #9263
Closed

Proposal: replace toml formatter with taplo #9262

waynexia opened this issue Feb 18, 2024 · 0 comments · Fixed by #9263
Labels
enhancement New feature or request

Comments

@waynexia
Copy link
Member

Is your feature request related to a problem or challenge?

We now using tomlfmt to format our Cargo.toml manifests https://crates.io/crates/cargo-tomlfmt. It

  • is not actively maintained
  • is not configurable
  • is not convenient to use under our multiple sub-crate structure
  • lacks of IDE supports

Describe the solution you'd like

I'd like to propose taplo tool, which looks more powerful. E.g., It has a vscode extension even-better-toml and can detect multiple toml files automatically. Also it has some format configurations I like, e.g. break line for long array.

Describe alternatives you've considered

Keep using tomlfmt.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant