By lukas on Jan 15, 2009
"The NetBeans IDE grows with new functionality every release and soon it will be like a swiss knife. It will do everything everyone can ever need. On the other hand most of the time we are using knifes and even swiss knifes to cut - the same way most of us use the NetBeans IDE. We use it for Java, PHP or C/C++ most of the time and if we need some other functionality, it is good to have it around and available. It just shall not make the knife too big and heavy.
Since the introduction of NetBeans Big IDE - the only IDE you ever need - we are facing various problems resulting from the IDE size. " - Jarda Tulach's description of the ergonomics IDE.
Problem statement: Most of the NetBeans IDE users download the full distribution of IDE. It contains everything from C++ to Ruby. Nobody needs all the functionality but it's loaded into the memory when the IDE is started.
Solution: enable the functionality only when it's needed
Our performance team decided to implement this approach in the ergonomics cluster. When you start the full IDE with fresh userdir then the IDE is empty. There is only the main functionality.
IDE without any functionality
They defined several entry points that enables a functionality to you. The entry points are New Project wizard ,Attach Debugger ,Open Project dialog ,VCS Checkout.
The IDE doesn't recognize the type of the project. It knows only that is a NB project. When you open a project it will activate the necessary functionality for you as you can see on next picture.
Activate Java Functionality
- Fitness Forever Via Ergonomics - document describing the change
- If you don't want the ergonomics functionality
- comment out the ergonomics cluster in [nb_install_dir]/etc/netbeans.clusters file use the same approach to verify that a bug is caused by the ergonomics feature
- Report issues - either to ide/ergonomics in Issuezilla or to any component with ERGONOMICS keyword.