Thursday Jan 15, 2009

New NetBeans Are Ergonomics

The change was propagated into NetBeans' IDE builds before XMas however it seems that most of the people will notice it in next milestone of NetBeans IDE 7.0. The Full IDE build contains new cluster with the ergonomics functionality. What it means? The new term here is ergonomics IDE that provides you just what you need when you need it. The idea come up from Jirka Rechtacek's - Consumer IDE prototype and session at JavaOne last year.

"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.


Open project


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




Hints:
  1. 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
  2. Report issues - either to ide/ergonomics in Issuezilla or to any component with ERGONOMICS keyword.
About

Team blog of NetBeans Core and Platform Quality Assurance team

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today