What's a good IDE for Erlang programming?

As far as I know there's Erlang plugin for NetBeans and Eclipse. Which one has the upper hand at the moment?

Are there any other IDE for Erlang which I didnt mention, and how good are they when compare with NetBeans and Eclipse?

57002 次浏览

Erlang mode in Emacs is the generally recommended IDE.

http://www.erlang.org/doc/apps/tools/erlang_mode_chapter.html

If you just want basic syntax highlighting in Windows I have written a syntax definition for NotePad++ that works well:

http://www.roberthorvick.com/2009/07/08/syntax-highlighing-for-erlang-in-notepad/

There is an Erlang definition for vim that I'm sure Google knows how to find.

I'm sure others have done the same for other editors.

The best IDE for Erlang is Emacs. However, the mode which ships with Erlang isn't the best. Erlware-mode extends it and Distel allows you to use Emacs itself as an Erlang node, enabling some very nice features. See this blog post.

Between plugins for NetBeans (ErlyBird) and Eclipse (ErlIDE), I prefer the Eclipse one. NetBeans at least used to require nightly versions of NetBeans and didn't work properly for me.

I use Erlide on eclipse (http://erlide.org/).

Pros: Syntax highlight, autocompletion and suggestion all work well. During suggest it will display some documentationif available: very useful when exploring a module.

Error and warning annotiations are quick and helpful.

All things considered the user experience is good, especially if you are used to eclipse.

Cons: Erlide can also run your modules, but I find the shell is too clunky to be usable. I always keep a "real" erlang shell open and compile/test my code from there.

There is also a Textmate bundle (google), but I have not tried that yet.

I use SciTE: http://www.scintilla.org/SciTEDownload.html as I cant be bothered to learn the emacs key combinations, and am to impatient to wait for eclipse to load.

SciTE comes with an Erlang configuration, but it needs to be uncommented in the configuration file.

I use notpad++ for erlang

I used Geany and Vim, they are good enough for developing. Geany can also compile and run the code.

If you use Vim I recommend you Vimerl (http://github.com/jimenezrick/vimerl):

Features

  • Syntax highlighting
  • Code indenting
  • Code folding
  • Code omni completion
  • Syntax checking with quickfix support
  • Code skeletons for the OTP behaviours
  • Uses configuration from Rebar
  • Pathogen compatible (http://github.com/tpope/vim-pathogen)

if you are a new emacs user, i think emacs can really kill you :(

i try erlide(buggy for jump to defination, other is good) emacs-erlang mode(really hard for me), i finally choose sublime text2 for daily development. i suggest you can try it.

i install the following plugins: package control sublime-erlang sublimerl ctags

that's as good as i expected.

http://www.youtube.com/watch?v=T0rD0CQM4Yg

you can watch this video to see how friendly sublime 2 is

Erlang plugin for IntelliJ IDEA provides some features for Erlang code editing and navigation:

  • Syntax and errors highlighting
  • References resolving
  • Code completion for functions, records, variables, macroses and keywords
  • Rename refactoring for modules, functions, records, macroses and variables
  • Safe delete refactoring
  • Structure view and Find usages
  • Code formatter
  • Compilation and running
  • Eunit test runner
  • Dialyzer integration
  • Snippets (Live Templates)
  • Quick-fixes
  • Rebar integration
  • Emacs-based code formatting action
  • Erlang shell console
  • Debugger
  • Extract variable and function refactorings

The plugins is free and open sourced: http://ignatov.github.io/intellij-erlang.

Emacs or VIM is not a good choice, if you didn't have experience on them. There a too many bugs in Eclipse... And IntelliJ IDEA is the best IDE

I use Eclipse with Erlide plugin.

It has support for Project Management in addition to syntax highlight, autocompletion.

Integration with 3rd party tool such as Wrangler for code refactoring is also very useful.

Debugging is also supported.

Another option is Visual Studio Code with the erlang extension.

I'm using sublime text on windows, mac and linux