ann: elm-light 0.1.0 - Elm plugin for Light Table

214 views
Skip to first unread message

Magnus Rundberget

unread,
Oct 29, 2015, 9:16:58 PM10/29/15
to Elm Discuss
Hi !

I'm completely new to Elm, but just as a learning experience I've created a Light Table plugin for Elm.

Highlights for the initial release includes:
- Syntax hightlighting (using basic CodeMirror mode)
- Linting
- Inline eval/repl (very crude, using a background process running elm-repl)
- Make shortcut
- Automtically starts elm-reactor in the background (using a port range to support multiple projects concurrently)
- Inline documentation (using elm-oracle)
- Language docs (again compliments of elm-oracle)
- Simple autocompleter (elm-oracle to the rescue)

I've created a screencast to demo it's features: http://rundis.github.io/blog/2015/elm_light.html
The project resides on https://github.com/rundis/elm-light

Comments appreciated, and if someone would be willing to help out improving and extending it do let me know !

cheers
Magnus



Janis Voigtländer

unread,
Oct 30, 2015, 2:16:42 AM10/30/15
to elm-d...@googlegroups.com
I'm not a Light Table user myself, but it is nice to see this happening!

If or when you are at a stage where this is ready for "public consumption", please make sure that other Elm users will find it via the website. There are two places where editor plugins are mentioned:

http://elm-lang.org/install
http://elm-lang.org/Get-Started.elm

The relevant code to make pull requests on to add a link to your plugin is in

https://github.com/elm-lang/elm-lang.org/blob/master/src/pages/install.elm

and

https://github.com/elm-lang/elm-lang.org/blob/master/src/pages/get-started.elm

respectively.



--
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.

Dénes Harmath

unread,
Oct 30, 2015, 12:52:46 PM10/30/15
to Elm Discuss
Thank you for the great plugin!
A tip: if you want to lint on save, add this to your user keymap (cmd-s on OS X):

[:editor "ctrl-s" :save :clear-inline-results :elm.lint]

Joey Eremondi

unread,
Oct 30, 2015, 8:57:55 PM10/30/15
to elm-d...@googlegroups.com
This is amazing!
For anyone who didn't watch the video, it has elm-reactor working right from within the editor. It looks incredibly slick.
Thanks Magnus!

Magnus Rundberget

unread,
Nov 19, 2015, 9:44:21 PM11/19/15
to Elm Discuss

Hi !

Celebrating the great 0.16.0 release today/yesterday with an new version of the plugin.
https://github.com/rundis/elm-light/releases/tag/0.1.2

The major new thing is a nifty package-management ui.


thx for all the great work on elm :-)

-magnus

Joey Eremondi

unread,
Nov 19, 2015, 9:59:41 PM11/19/15
to elm-d...@googlegroups.com
This is awesome, nice work!

Michael Bylstra

unread,
Nov 28, 2015, 3:34:18 AM11/28/15
to Elm Discuss
I got round to trying this out today. Wow, I'm really impressed! The inline errors are brilliant. Actually, pretty much every feature you list is awesome, as well as the new package manager. 
I've switched from Atom. Light Table is quite a decent editor these days. Oh, and great tip Denes - I'll be using that.
Reply all
Reply to author
Forward
0 new messages