Skip to content

0.2.0-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@avh4 avh4 released this 30 Jan 06:17

0.2.0-alpha was announced on the elm-dev mailing list

After the tedious work of making the AST retain comments, elm-format-0.2-alpha is ready! Most notable is the switch to 2-space indentation, as previously discussed on elm-dev. There are also now plugins for LightTable, Emacs, and Vim thanks to @rundis, @Bogdanp, and @ajhager!

You can find the downloads and editor integration instructions here:

Here's a brief list of changes:

  • changed to 2-space indentation
  • comments are handled everywhere they can appear
  • fixed a unicode problem with console output on Windows
  • parentheses in pattern matches are handled correctly, including a workaround for elm/compiler#951
  • triple double quotes in multiline strings are handled correctly
  • more than one file or directory can be given on the command line
  • added the --stdin command line option to support IDE plugins

Thanks to everyone who helped improve the documentation and to the following for contributing code to this release: