Apache NetBeans (incubating) 10.0 Released

The Apache NetBeans proudly announced the release of Apache NetBeans (incubating) 10.0.

Finally the first Apache NetBeans incubating release with full support for Java SE, PHP and JavaScript development

You can download it here: https://netbeans.apache.org/download/nb100/nb100.html

Apache NetBeans (incubating) 10.0 constitutes all but the enterprise cluster in the Apache NetBeans Git repo, which together provide the NetBeans Platform (i.e., the underlying application framework), as well as all the modules that provide the Java SE, PHP, JavaScript and Groovy features of Apache NetBeans.

In short, Apache NetBeans (incubating) 10.0 is a full IDE for Java SE, PHP and JavaScript development with some Groovy language support.

New features of the 10.0 Release:

  • JDK 11 support
  • Miscellaneous Features
  • PHP

JDK 11 Support

JDK 11 support has been enhanced in the following ways:

New Hint to convert variable type to 'var' for lambda parameters(JDK 11 and above)

  • Code completion for var lambda parameters

Code completion support for var type lambda parameters.(JDK 11 and above)

See the JDK 11 Confluence Page for more detailed features.

PHP Support

All the PHP support for NetBeans 10 was contributed by our NetBeans committer Junichi Yamamoto.

These are some of the new features:

PHP 7.3

You can now add trailing commas in function calls under PHP 7.3 (mailing list thread).

Trailing commas in function calls in PHP 7.3

And also use the list reference assignment

nb100 php73 list reference assignment

The flexible Heredoc and Nowdoc Syntaxes are also supported.

nb100 php73 flexible heredoc and nowdoc syntaxes

PHP 7.2

For PHP 7.2 we support trailing commas in list syntax, coloring for object types and PHP version in project properties.

nb100 php editor php version 72 trailing commas in list syntax

PHP 7.1

For PHP 7.1 we have class constant visibility, multi-catch exception handling, nullable types, support for keys in list(), coloring for new keywords (void, iterable).

nb100 php editor class constant visibility 01

More PHP features

And more: context sensitive lexer, PHPStan support, debugger, twig, hints, suggestions, code completion…​ visit PHP Features Page and NetBeans 10 New and Noteworthy for more details on PHP support.

JUnit 5

JUnit 5.3.1 has been added as a new Library to NetBeans, so you can quickly add it to your Java projects. For Maven projects without no existing tests, JUnit 5 is now the default JUnit version.

JUnit 5 Library

The JUnit 5 @Testable annotation is also supported. Any method that includes an annotation that inherits from this, will be allowed to be executed with these action menu items.

Default JUnit 5 Test Template provided out of the box. Note JUnit 5 doesn’t currently support test suite’s for its Jupiter engine, so the template provided will attempt to create a test suite using the Vintage engine.

JUnit 5 Templates

Passionate Archer, Runner, Linux lover and JAVA Geek! That's about everything! Alexius Dionysius Diakogiannis is a Senior Java Solutions Architect and Squad Lead at the European Investment Bank. He has over 20 years of experience in Java/JEE development, with a strong focus on enterprise architecture, security and performance optimization. He is proficient in a wide range of technologies, including Spring, Hibernate and JakartaEE. Alexius is a certified Scrum Master and is passionate about agile development. He is also an experienced trainer and speaker, and has given presentations at a number of conferences and meetups. In his current role, Alexius is responsible for leading a team of developers in the development of mission-critical applications. He is also responsible for designing and implementing the architecture for these applications, focusing on performance optimization and security.