One of the major features in the upcoming release of IntelliJ IDEA 12 Leda is a completely revised approach to compilation of a project. We have rebuilt it from the ground up to bring a new user experience and a better performance.
There are following key principles for this new compilation approach:
- All compilation tasks are performed in a separate process, fully independent from the main IDE’s process, to get rid out of memory and other resources contention.
- Java compiler is used “in-process” via Java API for better performance and more flexible annotation processors management.
- Java classes dependency management completely rewritten for faster and more accurate search of dependent classes.
- Compilation is automatically triggered (“auto-make”) by events from the file system of the IDE if such option is enabled.
As a result of these improvements we have: