Erlang IDE (IntelliJ-based) 
Erlang plugin
Erlang Plugin turns IntelliJ IDEA and other IntelliJ-based products (RubyMine, PyCharm, WebStorm, etc.) to a convenient Erlang IDE.
Pre-release builds
You can manually set up the latest plugin version from the releases page or from the intellij-erlang-builds folder.
Note for Mac OS X users: you need to download the entire zip file, not a several jars (see Apple discussion forum).
Recent changes
The latest version
- Improved build system - incremental compilation (#657, #609, #513, #475, #428)
 - Enhanced .app files support: reference resolution and autocomplete
 - Erlang 18 compatibility: optional callbacks support (#644), eunit compatibility (#629)
 - Enhanced -behavior attribute support: autocomplete, conflicts inspection (#640)
 - Spellchecking
 - Illegal pattern/guard inspection (#620, #622)
 - Code editing/indentation/formatting improvements (#593, #574, #594, #582, #589, #587, #582)
 - Working directory for run configurations (#572)
 - Rebar on Windows (#432, #469, #496)
 - Source files are no longer copied to output upon build (#608)
 - Maps syntax in Erlang Term Files (#588)
 - Various bugfixes (#632, #559, #605, #614, #612, #562, #603, #576)
 
Work in progress
- Preprocessing support
 
Grammar-Kit version
Download the right version of Grammar-Kit.
from  https://github.com/ignatov/intellij-erlang