ErlAlign - a column-aligning code formatter for Erlang

I would like to announce the ErlAlign project. It’s a code formatter that does columnar code alignment. Here’s an example:

User = #user{
  name       = <<"Alice">>,
  age        = 30,
  occupation = <<"developer">>
}.

It aims at improving code readability. The documentation can be found here.

It also includes an additional rebar3 plugin for converting legacy edoc style @doc documentation blocks to -doc style OTP-27 attributes.

Enjoy!

Serge

5 Likes