One of the benefits of the formatter is preventing arguments over syntax, thus
it is only minimally configurable, you are free to not use it if you wish to be
creative in a non standard way.
On Fri, 21 Apr 2023, at 9:53 PM, adonig wrote:
> Before the age of great tooling people were creative when formatting their
> code and found ways to use formatting to help readers visualize what the code
> does. A formatter can't be that creative like a human (yet) but it would be
> beneficial if there's a way to disable the formatter for some parts of the
> code, for example like this:
>
> shape = [
> # formatter: off
> {2, 1},
> {2, 2},
> {2, 3}, {3, 3}
> # formatter: on
> ]
>
>
> --
> 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/41a97e22-99be-4384-9df7-a631eb50fa5en%40googlegroups.com
>
> <https://groups.google.com/d/msgid/elixir-lang-core/41a97e22-99be-4384-9df7-a631eb50fa5en%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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/7c602f33-147b-4397-93bd-8705ed1e8cce%40app.fastmail.com.