Module

Code.Formatter

Changes by version

Elixir 1.18.0

· 1 change

Bugfix Tool: Elixir

Fix formatter adding extra escapes to quoted remote calls

Elixir 1.16.3

· 1 change

Bugfix Tool: Elixir

Add brackets around keyword lists when formatting the left-hand side of when

Elixir 1.16.0

· 1 change

Enhancement Tool: Elixir

Trim trailing whitespace on heredocs with \r\n

Elixir 1.15.0

· 2 changes

Bugfix Tool: Elixir

Fix a scenario where a keyword followed by parenthesis could go above the maximum line length

Bugfix Tool: Elixir

Remove unnecessary parens in nullary type funs

Elixir 1.14.2

· 1 change

Bugfix Tool: Elixir

Fix size*unit shortcut in bitstring

Elixir 1.8.0

· 1 change

Enhancement Tool: Elixir

Preserve user's choice of new line after most operators

Elixir 1.7.0

· 2 changes

Bugfix Tool: Elixir

Consistently format keyword lists in function calls with and without parens

Bugfix Tool: Elixir

Do not break after -> when there are only comments and one-line clauses

Elixir 1.6.4

· 1 change

Bugfix Tool: Elixir

Do not double escape quoted keyword list identifiers

Elixir 1.6.3

· 4 changes

Enhancement Tool: Elixir

Support comments in the middle of pipelines, when and | expressions

Bugfix Tool: Elixir

Consider commas when breaking groups

Bugfix Tool: Elixir

Ensure proper precedence between & and operators

Bugfix Tool: Elixir

Consider .formatter.exs when formatting stdin

Elixir 1.6.2

· 1 change

Bugfix Tool: Elixir

Ensure -> does not exceed line length

Elixir 1.6.1

· 2 changes

Bugfix Tool: Elixir

Only rearrange not in operator if explicitly opted-in

Bugfix Tool: Elixir

Ensure do blocks do not exceed line length on calls with a single argument