Setting up an Erlang development environment

McDowell picture McDowell · Aug 5, 2008 · Viewed 12.5k times · Source

I'm interested in looking at Erlang and want to follow the path of least resistance in getting up and running.

At present, I'm planning on installing Erlang R12B-3 and Erlide (Eclipse plugin). This is largely a Google-result-based decision. Initially this will be on a Windows XP system, though I am likely to reproduce the environment on Ubuntu shortly after.

Is there a significantly better choice? Even if it is tied to one platform.

Please share your experiences.

Answer

user12462 picture user12462 · Sep 16, 2008

I highly recommend the Erlang mode shipped with the standard Erlang distribution. I've put together a "works out of the box" Emacs configuration which includes:

  • Syntax highlighting & context-sensitive indentation
  • Dynamic compilation with on-the-fly error highlighting
  • Integrated Erlang shell
  • And more....

You can browse my GitHub repo here:

http://github.com/kevsmith/hl-emacs