michalmuskala

michalmuskala

We’re very happy to announce the general availability of erlfmt - an automated code formatter for Erlang.

erlfmt is an opinionated Erlang code formatter. By automating the process of formatting the code, it frees your team up to focus on what the code does, instead of what it looks like. erlfmt works with any Erlang file: .erl , .hrl , rebar.config , escripts, and more. It can be used both in rebar3 projects and standalone as a precompiled escript.

erlfmt is feature complete and now is a final opportunity, before the release of version 1.0.0, to influence formatting decisions. We would appreciate your feedback, try out erlfmt on your project and share your remarks by opening a github issue with examples.

Comparison with other erlang formatters

In it’s design approach erlfmt is very similar to the Elixir formatter - it should feel very familiar for most Elixir users. The formatter never changes the semantics or structure of the code. It provides as little configuration as possible. It also avoids special cases as much as possible. Elixir users will also find the familiar behaviour of preserving newlines and respecting some other elements of the original format.

Links

Showing Posts 1 to 4

akoutmos

akoutmos

Author of Build a Weather Station with Elixir and Nerves

This is awesome!!! Huge thanks to you and everyone else involved :slight_smile:

dom

dom

Looks fantastic! I might have to try plain old Erlang again if you guys keep improving things :stuck_out_tongue:

bottlenecked

bottlenecked

Not sure what the reason is for Whatsapp’s surge of open source contributions on the BEAM ecosystem (facebook culture seeping in? hiring people with open source sensibilities?) but I sure do welcome it!

Qqwy

Qqwy

TypeCheck Core Team

Congradulations on this release! Very exciting :confetti_ball:! :smiley:

— All posts loaded —

Where Next? Top

Trending in Erlang News Top

erlangforums
A new Erlang announcement has been posted: Original announcement:
New
erlangforums
A new Erlang announcement has been posted: Original announcement: https://erlangforums.com/t/patch-package-otp-29-0-6-released/5911
New
erlangforums
A new Erlang announcement has been posted: Original announcement: https://erlangforums.com/t/patch-package-otp-27-3-4-17-released/5913
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews