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