Elmid: Elm compiler error reporter (in spirit of ghcid)

Hello folks,

I’ve written a CLI tool to show you Elm compiler errors in an expandable/collapsible fashion, automatically updated when you save.

A picture is worth a thousand words:

So far it’s Linux-only, dependent on the inotify API. I don’t yet know how hard would it be to port it to other systems; perhaps you can help!

For more info, you can take look at the README.

Download v1.0.0 for Linux x86_64

28 Likes

This is an excellent idea. I wrote a blog post talking about the error messages in Elm. Whilst these error messages are fantastic they aren’t short. Once you’ve been around Elm for a while, you don’t really need the full spiel. So I was suggesting a --terse flag, but this is perhaps even better. I ended the blog-post by stating " I say would propsose this, but I don’t actually think this should be done, I just don’t think it has enough bang for the buck of the involved effort." Your cli tool takes the effort from the Elm compiler, though I don’t know whether it will be difficult to maintain or not.
Anyway brilliant stuff.

Love it and I believe this can be extremely helpful. I understand your motivation to have this in a separate tool, but maybe we could take this as a PoC for an actual compiler feature?

Not sure how much effort it would be to open a PR with this feature in the compiler’s repo.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.