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 23K
  • Win 6K
  • OS X 12K
  • Linux 5K
Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28
Windows 0 3 2 4 1 2 3 4 6 9 8 4 5 10 2 6 5 10 14 10 12 11 6 1 3 4 4 11 1 6 4 3 3 5 6 0 5 4 7 13 5 3 1 4 3 2
OS X 0 5 8 1 3 8 7 6 9 7 5 6 10 5 5 3 7 4 5 10 5 9 8 9 4 5 7 3 7 2 4 4 5 3 4 7 5 7 2 4 1 4 2 2 1 4
Linux 0 2 6 2 4 2 3 2 4 3 5 4 1 7 7 3 0 4 7 1 6 5 2 3 1 4 4 2 3 2 1 2 0 2 2 1 1 3 2 0 0 0 0 5 1 2

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.