FWIW, I was able to get elm-format to auto-format on save in Jetbrains IDEs
(RubyMine specifically, but should work in any of them).  Took a little
extra scripting glue and macros, but it worked.

-- Chad

On Fri, Jun 30, 2017 at 2:49 PM, Raoul Duke <[email protected]> wrote:

> hi,
>
> One use case I have in all programming systems is to auto reformat a whole
> file buffer (let alone a whole directory tree of code). I tried doing that
> in emacs elm-mode but it seems that it doesn't quite know enough to do what
> I am hoping for. Is there any emacs mode for elm that knows what to do
> automagically?
>
> I also just tried it in atom, with language-elm, and it doesn't seem to
> know either. Is there any good working editor system that can do it? Is
> there something about elm's BNF-or-whatever that prevents editors from
> being able to do it? (Does it support my long held believe that whitespace
> sensitive syntax being a bad idea when all concerns are weighed? :-)
>
> (I did try to get set up with lighttable but that was sort of a miserable
> experience for me to date, so i haven't gotten to the point of trying auto
> reformat there.)
>
> thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to