The Apache Software Foundation demonstrated the first release of the NetBeans IDE after the Oracle code transfer. At the moment, version number 9.0 is passing certification and debugging in the fund's incubator to become an independent project of Apache. The update includes support for Java SE, improvements in the work of Java 9 and Java 10, the integration of the Jigsaw paradigm for working with modules and other changes.
Key NetBeans innovations
- Integrated tools for partitioning programs into modules using the JPMS (Jigsaw) paradigm for JDK 9. A Java project can be modular by adding a module-info.java file that supports code completion.
- A new type of project called Java Modular, which allows you to develop several modules in a single project. At the same time, their assembly will occur simultaneously, and dependency management is performed through the files module-info.java. Such an application looks like a multi-module structure.
- The appearance of REPL in Java with the connection of the Java Shell interactive shell. The tool allows you to run and test one-liners during the development process and automatically picks up the user settings for the classes and libraries of the project.
- Refactoring tools and hints for transformations of the new var type and error detection tools for misuse of this type in JDK 10
- Expanding and collapsing nodes in the tree with profiling results that simplify the actions with the code
- Arbitrary resizing of pop-up dialog boxes