Again: which editor do you like best for Elm?

2,059 views
Skip to first unread message

Rupert Smith

unread,
Feb 2, 2017, 11:53:59 AM2/2/17
to Elm Discuss
I'm currently using Atom.

I see lots of new features are getting added to the Light-Table plug in though...  (Right now I want to be able to preview what the Elm docs will look like).

Andrew Radford

unread,
Feb 3, 2017, 1:29:20 AM2/3/17
to Elm Discuss
Try elmjutsu if you haven't already.

Rupert Smith

unread,
Feb 3, 2017, 4:57:23 AM2/3/17
to Elm Discuss
On Friday, February 3, 2017 at 6:29:20 AM UTC, Andrew Radford wrote:
Try elmjutsu if you haven't already.

Tried it but it was slow and buggy. However that was version 2.8.3, I'll upgrade to 3.2.0 and give it another shot. Feature-wise it was quite promising. 

Rupert Smith

unread,
Feb 3, 2017, 5:09:09 AM2/3/17
to Elm Discuss
Actually I was already using Elmjutsu 2.8.3, the upgrade is nice and adds some good features. It is linter-elm-make that was slow and buggy, but I'm giving the latest version of that another go too.

Rupert Smith

unread,
Feb 3, 2017, 5:42:38 AM2/3/17
to Elm Discuss
On Friday, February 3, 2017 at 10:09:09 AM UTC, Rupert Smith wrote:
Actually I was already using Elmjutsu 2.8.3, the upgrade is nice and adds some good features. It is linter-elm-make that was slow and buggy, but I'm giving the latest version of that another go too.

Latest of linter-elm-make seems less buggy and a little quicker. Its still pretty slow though, but I think that might be due to the underlying elm-oracle utility? Anyway, it seems usable enough and I just enable it occasionally to help with some tifying up and leave it disabled most of the time. 

Dave Rapin

unread,
Feb 3, 2017, 9:48:51 AM2/3/17
to Elm Discuss
I'm using Vim. Is there a cli linter? That would be great!

Eduardo Cuducos

unread,
Feb 3, 2017, 10:17:45 AM2/3/17
to Elm Discuss
Hi Dave,
I use vim with vim-elm (https://github.com/ElmCast/elm-vim) and with elm-format, it's awesome!
Cheers,
--
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 elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dave Rapin

unread,
Feb 3, 2017, 10:22:04 AM2/3/17
to elm-d...@googlegroups.com
I'm using elm-vim too, but it's a bit off at times (like a 4 space
indent within a let / in block instead of the 2 space it does
everywhere else). Not a fan of using elm-format on save from within
vim, it's a bit awkward and messes with your undo history, but yes I
could totally use it from the CLI...
> You received this message because you are subscribed to a topic in the
> Google Groups "Elm Discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elm-discuss/5eEbnwzbQvo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

Matthias Sieber

unread,
Feb 3, 2017, 11:43:40 AM2/3/17
to Elm Discuss
I'm using vim with elm-vim + elm-format.

Rupert Smith

unread,
Feb 3, 2017, 12:37:39 PM2/3/17
to Elm Discuss
I just go with elm-format on save, resistance is futile.

GordonBGood

unread,
Feb 4, 2017, 2:35:37 AM2/4/17
to Elm Discuss
On Thursday, 2 February 2017 23:53:59 UTC+7, Rupert Smith wrote:
I'm currently using Atom.

I see lots of new features are getting added to the Light-Table plug in though...  (Right now I want to be able to preview what the Elm docs will look like).

I'm using Visual Studio Code with the Elm plug-in.  Works pretty well. 

David Legard

unread,
Feb 4, 2017, 8:37:56 AM2/4/17
to Elm Discuss
With the Fira Code font and ligatures enabled, of course... it looks like it was Made For Elm....

Rupert Smith

unread,
Feb 6, 2017, 3:14:04 PM2/6/17
to Elm Discuss
On Saturday, February 4, 2017 at 7:35:37 AM UTC, GordonBGood wrote:
I'm using Visual Studio Code with the Elm plug-in.  Works pretty well. 

BTW, does the fact that Microsoft have VS Code for Linux mean that Microsoft now fully supports .Net on Linux too? This is a development I haven't really kept up with, not being a windows user.

Dave Rapin

unread,
Feb 6, 2017, 3:22:53 PM2/6/17
to elm-d...@googlegroups.com
MS bought Xamarin, who made Mono (http://www.mono-project.com/), which
allows you to target Linux, iOS, Android w/ .NET. They seem to be
embracing Linux for the last couple of years. Hell you even get a
Linux within Windows 10 now if you opt in
(https://github.com/ethanhs/WSL-Programs).

GordonBGood

unread,
Feb 6, 2017, 8:17:28 PM2/6/17
to Elm Discuss
On Tuesday, 7 February 2017 03:22:53 UTC+7, Dave Rapin wrote:
MS bought Xamarin, who made Mono (http://www.mono-project.com/), which
allows you to target Linux, iOS, Android w/ .NET. They seem to be
embracing Linux for the last couple of years. Hell you even get a
Linux within Windows 10 now if you opt in
(https://github.com/ethanhs/WSL-Programs).

On Mon, Feb 6, 2017 at 3:14 PM, 'Rupert Smith' via Elm Discuss
<elm-d...@googlegroups.com> wrote:
> On Saturday, February 4, 2017 at 7:35:37 AM UTC, GordonBGood wrote:
>>
>> I'm using Visual Studio Code with the Elm plug-in.  Works pretty well.
>
>
> BTW, does the fact that Microsoft have VS Code for Linux mean that Microsoft
> now fully supports .Net on Linux too? This is a development I haven't really
> kept up with, not being a windows user.

It's more than as @Dave has said:  MS now offers DotNet Core which is open source and available across all major platforms, and I suppose VS Code fits under that initiative.  This looks to be a complete re-write of the mono-project to make it more compatible and better performance wise, as well as being more generally compatible with full DotNet.

So more than just having project-mono as a side project, it is now fully integrated into full Visual Studio, etc.

MS has been moving this way for quite some time, with F# having been an open source project for quite some time.

Running "Linux within Windows" is a bit of an exaggeration, but yes, one can opt in to running a bash shell inside windows under a version of UBuntu.

As I said, VS Code works pretty well with the Elm plug-in, and there are lots of other third party plug-ins for markdown, HTML, etc.

roovo

unread,
Feb 7, 2017, 3:07:31 AM2/7/17
to Elm Discuss
....I found this too -> it inserts a load of stuff into history on save that I didn't want there...

it's much better if you don't enable g:elm_format_autosave and instead get it to run ElmFormat on save - with something like the following in your vimrc: 

au BufWrite *.elm
        \ execute 'ElmFormat'

Cheers

Rupert Smith

unread,
Feb 7, 2017, 5:01:08 AM2/7/17
to Elm Discuss
On Tuesday, February 7, 2017 at 1:17:28 AM UTC, GordonBGood wrote:
MS has been moving this way for quite some time, with F# having been an open source project for quite some time.

That is part of the reason I was asking because F# on Linux is an appealing combination. I believe some design choices in Elm were influenced by F#? 

GordonBGood

unread,
Feb 7, 2017, 7:36:24 AM2/7/17
to Elm Discuss
Yes, it seems that Elm has moved away from Haskell syntax compared to previously and many features now feel more like F#.

I like F# syntax as a better OCaml, but found that it often wasn't such a good fit on top of DotNet; in particular doing purely functional things using closures was slower than doing them in C#, and even slower when using the mono-project environment (for either C# or F#).

I must admit that I haven't tried either on the new open-source multi-platform DotNet Core, but am hoping that, at least, some of the loss of performance going to mono-project might be fixed.

But I discovered Elm, and if what one is doing doesn't need the mutability option and the bigger variety of primitive types, have found that Elm can be almost as fast or even faster than F# for doing many things.

Other than that, F# on Linux worked fine under mono-project and I expect it will work even better under DotNet Core; however, currently it appears that debugging isn't supported for DotNet Core on Linux or OSX

If you want to try F# on Linux, you might try Fable (transpiiles to JavaScript like Elm) but I found it to be slower than Elm for doing functional things that use any level of functional closures at all; being a more complex language than Elm, it is a more ambitious project and isn't as far developed; as well, because it compiles through Babel, it's somewhat slow in compilation.  The BDFL, Alfonso, is at least as approachable as Evan and fixes issues raised very quickly.

ratvis

unread,
Feb 8, 2017, 4:43:08 PM2/8/17
to Elm Discuss
spacemacs elm layer

https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/elm


It relies on elm-mode and flycheck-elm to provide the following features:
Syntax highlighting.
Intelligent indentation
Auto-completion integration for company (default) or auto-complete modes, with using elm-oracle
Syntax checking support using flycheck
Integration with elm-make
Integration with elm-repl
Integration with elm-reactorIntegration with elm-package

On Thursday, February 2, 2017 at 8:53:59 AM UTC-8, Rupert Smith wrote:

Alex Deas

unread,
Feb 14, 2017, 11:04:06 AM2/14/17
to Elm Discuss
Vim with elmcast/elm-vim it just allows me to do so much in a few key presses and probably offers the most complete package for any language package I've come across, all in one single install rather than juggling different packages. 
Reply all
Reply to author
Forward
0 new messages