ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Elm Syntax Highlighting

by evancz ST3

Syntax Highlighting for Elm in Sublime Text

Details

Installs

  • Total 28K
  • Win 8K
  • Mac 14K
  • Linux 6K
Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16
Windows 0 1 1 0 0 2 0 3 3 0 0 2 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 2 2 2 0 0 2 0 3 0 2 2 1 0 0 1 0 0 1
Mac 0 1 0 0 0 0 1 0 2 1 0 1 1 2 1 0 1 1 2 0 1 2 0 0 0 0 1 0 1 0 1 3 1 0 1 0 2 0 1 0 0 0 1 0 3 0
Linux 0 1 1 3 0 0 1 0 2 0 0 3 0 0 1 1 0 0 0 0 1 0 1 2 0 1 0 1 0 1 0 0 1 1 0 0 2 1 0 1 1 0 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

Elm Syntax Highlighting

Just add syntax highlighting for Elm.

Install Instructions

Recommended Workflow

I do all of my Elm development with Terminal and Sublime Text open next to each other like this:

Recommended Workflow

I mostly focus on the code in Sublime Text.

When I am curious if things work, I switch to Terminal and run something like elm make src/Main.elm to see if I get any errors.

Then I switch back to Sublime Text and use Ctrl-t (or Cmd-t on Mac) to navigate to the relevant files and make any fixes.

Workflow Benefits

The recommended workflow has some underappreciated benefits:

  1. Fast - Never wait for a slow editor. No background tasks eating RAM and CPU.
  2. Flexibile - Some projects needs more than an elm make call. I can switch to elm reactor or a custom ./build.sh script and keep essentially the same workflow.
  3. Robust - Not much can go wrong here, so I never spend time messing with integrations. Changes in elm, elm-test, or elm-format are only a concern in the terminal.

I really love this balance! It has that particular character of focused designs.


That said, I know some people want a bit more, so I made elm-format-on-save as well. It may be worth setting this up once you have been happily using Elm for a while and become curious what it might be like to use Elm at work.