What’s new in NetBeans 10
For JDK 11, which arrived in September 2018, NetBeans 10.0 supports dynamic class file constants, which broadens expressivity options for language designers and compiler implementors. Other capabilities for JDK 11 include:
- Local-variable syntax support for lambda parameters, to align the syntax of a formal parameter declaration in an implicitly typed lambda expression with the syntax of a local variable declaration.
- Code completion for var lambda parameters.
- Removal of Corba modules.
- Integration with the nb-javac project to support JDK 11. The project has long provided a patched version of javac Java compiler for the NetBeans Java editor.
For PHP, NetBeans 10 lets developers add trailing commas in function calls under PHP 7.3. Developers also can use the list reference assignment as well as flexible heredoc and nowdoc syntaxes. Its PHP 7.2 support includes trailing commas in list syntax, coloring for object types, and PHP version in project properties. For PHP 7.1, NetBeans 10 adds support for class constant visibility as well as multicache exception handling, nullable types, and coloring for the void and iterable keywords. The context-sensitive lexer from PHP 7.0 is supported as well.
JUnit 5.3.1 was added as a library in NetBeans, for quickly adding it to Java projects. The JUnit 5
@Testable annotation is supported, also.
The upgrade is the second major release of NetBeans under Apache’s jurisdiction. Apache 9.0 arrived in August 2018.