elm-format-0.4.0-alpha is now available: https://github.com/avh4/elm-format#installation-
There are three significant syntax changes from 0.3.*-alpha:
<| operator is now handled specially and is placed at the end of the preceding lineOther changes:
What's next:
-- comments at the end of linesThanks this release to a new contributor, @gyzerok, who helped update the CLI, including a feature that makes elm-format usable in JetBrains IDEs (#199).
That's it for the release! I have also started writing some guidelines for "elm-format approved" plugins and IDEs. If you are interested in that, read on:
This is a draft of guidelines for IDEs and IDE plugins that want to officially integrate with elm-format.
Discussion is here: https://github.com/avh4/elm-format/issues/104
The goal of elm-format is to make it as easy as possible to follow a standard, consistent style so that everyone can get the benefit of code that is easier to write, easier to read, and easier to maintain.
An "elm-format approved" plugin does the following:
Configuration
If the path to elm-format has not be explicitly specified by the user, the plugin should automatically find elm-format if it is located on the $PATH or in /usr/local/bin/.
Is there an equivalent of /usr/local/bin/ for Windows?
An "elm-format approved" IDE comes with an "elm-format approved" plugin installed and enabled, or otherwise provides all the features of an "elm-format approved" plugin.