Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-07-21 Thread Wendel Wang
For me the LightTable elm-light plugin works well. You install it with the plugin manager and then set up the keymapping depending on you rpreferences. An example setup is given in the elm-light docu that you can just cut and paste into you user-settings file. I have set up elm-format on save.

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-07-03 Thread Chad Woolley
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 wrote: > hi, > > One use

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-07-03 Thread 'Rupert Smith' via Elm Discuss
On Monday, July 3, 2017 at 7:55:41 AM UTC+1, Zachary Kessin wrote: > > I have found elm and emacs work just fine it just takes some fine tuning > Care to share some of your emacs configuration? -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group.

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-07-03 Thread Zachary Kessin
I have found elm and emacs work just fine it just takes some fine tuning Zach ᐧ On Sun, Jul 2, 2017 at 8:53 PM, 'Rupert Smith' via Elm Discuss < elm-discuss@googlegroups.com> wrote: > On Saturday, July 1, 2017 at 1:33:04 AM UTC+1, Raoul Duke wrote: >> >> Thanks! I did do that. Did sorta get it

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-07-02 Thread 'Rupert Smith' via Elm Discuss
On Saturday, July 1, 2017 at 1:33:04 AM UTC+1, Raoul Duke wrote: > > Thanks! I did do that. Did sorta get it working in emacs mode! But > overall it didn't / doesn't seem to work so well, as I said -- wonky > UX. Now hoping for something that really just works out of the box > w/out any extra

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
Thanks! I did do that. Did sorta get it working in emacs mode! But overall it didn't / doesn't seem to work so well, as I said -- wonky UX. Now hoping for something that really just works out of the box w/out any extra config at all? I.e. a real IDE where the errors are shown inline with red

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread N H
There is a table in the README for elm-format explaining all the different editors that have support for it and the setup steps required. I suggest checking that out to get an idea On 1 July 2017 at 01:55, Raoul Duke wrote: > So I just tried elm-format in emacs elm-mode and

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
So I just tried elm-format in emacs elm-mode and it... wasn't such a good experience. Is there currently a best editor for Elm that is the most bullet proof / featureful? That doesn't require me to do all sorts of setup that might/not work? -- You received this message because you are subscribed

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
Thanks! Will do. (Dunno if it would be cool if the editor plugins had it built in already?) -- 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

Re: [elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread N H
In Elm, we have a single formatting tool which is used by all plugins, known as elm-format: https://github.com/avh4/elm-format You may not have installed it yet. Check out the README in that repo and it'll tell you what to do. On 30 June 2017 at 23:49, Raoul Duke wrote: > hi,

[elm-discuss] any editor supports elm simple whole-buffer reformat?

2017-06-30 Thread Raoul Duke
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