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?
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?
Erlang plugin for IntelliJ IDEA provides some features for Erlang code editing and navigation:
The plugins is free and open sourced: http://ignatov.github.io/intellij-erlang.
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.
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.
If you use Vim I recommend you Vimerl (http://github.com/jimenezrick/vimerl):
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 used Geany and Vim, they are good enough for developing. Geany can also compile and run the code.
Another option is Visual Studio Code with the erlang extension.
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
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.
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