First of all, I'd like to say thanks so much for the elixir formatter. I do
like nearly all of the defaults. There's one place that I would like to
change:
formatting of numbers.
I'd like to be able to turn off the auto formatting of numbers to add in
underscores after every third number.
Reason:
I do have some test data in my elixir files that I use to check information
and when I search for certain test data by ID, which is a long number, it
won't be found cause of the underscores added to the number.
I can see this being useful if you're working with currency, or numbers
with some meaning of counting; it does make the numbers easier to read, but
if you're reading like an ID, then it becomes a big difficult to understand.
%{ "specialId" => 100000002 } # => %{ "specialId" => 100_000_002 }
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/6f055bb9-3c2d-4d65-9cf4-8904509844b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.