Skip to content

Commit

Permalink
Create 0.16.1.md
Browse files Browse the repository at this point in the history
  • Loading branch information
deadfoxygrandpa committed Dec 25, 2015
1 parent d0d8992 commit dca543d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions messages/0.16.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## What's new

Added support for elm-format, the new tool for automatically formatting your Elm source code (you need to install this separately. Check here for details: https://github.com/avh4/elm-format)
- elm-format needs to be installed and in your PATH in order to work
- There is a new command on the command palette named `Elm Language Support: Run elm-format`. This command will run elm-format on the currently open file.
- There is also a new User setting, which you can set by going to Preferences -> Package Settings -> Elm Language Support -> User and adding `"elm_format_on_save": true`. This will automatically run elm-format on your Elm source files before they are saved.
- If there are some Elm source files you want to exclude from auto-formatting, you can set a regex-based filename filter with the "elm_format_filename_filter" User setting. Enter a regex and any file names, including their paths, the regex matches against will be excluded from the "elm_format_on_save" setting previously mentioned.

0 comments on commit dca543d

Please sign in to comment.