Closed zummenix closed 6 years ago
@zummenix not sure if you're aware, but the community standard is to use https://github.com/avh4/elm-format There is instructions in the repo to have it format on save and afaik, this is going to be merged into elm core in the coming versions.
@mordrax I use elm-format and absolutely love it. I'm not sure how elm-format can help with indentation when you fast typing in the IDE.
I assign it to a shortcut, so just type whatever and hit Ctrl+B, F for format, Ctrl+B, B for build, Ctrl+B, D for build --debug
It would be better if elm-format is integrated into this plugin and set to execute at save (or auto-save if you have that enabled).
Thank you in your interest in the plugin. I'm sorry to say that this repository is no longer maintained due to lack of resources. If you need an Elm language support in IntelliJ - please consider using this plugin instead.
In almost all cases when I'm typing the auto indentation is wrong. For example:
expected:
For
if then else
andcase of
expressions it also doesn't work as expected.