Open Byron opened 5 months ago
Oh I thought I already responded to this, but apparently not. So I agree it would be nice to show the defaults. Where can I find those?
I think here is the most exhaustive collection of these values, including their defaults.
(motivated by this message)
It would be great if it was easy to see all values that a
rustfmt
option has been set to across crates. They are documented here: https://rust-lang.github.io/rustfmt/Motivation
Personally, I set the
max_width
value inrustfmt.toml
to 120, but wonder how well suited that is for others. Knowing what common values are for when it's set might help arriving at more suitable values.Further, I could imagine, it would be useful to find better default values, as the analysis might reveal that everyone is changing certain options to a particular value (which might not be the default yet).