Development environment: NetBeans 12.6 brings pattern matching for switch expressions

Share your love

The NetBeans team has released version 12.6 of the development environment. NetBeans, which is under the patronage of the Apache Software Foundation (ASF), is approaching Java 17 and introducing innovations for other programming languages. MultiViews can now be displayed in the TypeScript and CPPLite editor, which provides access to the History-Tab enables.

There are also changes in the release cycle: In October 2021, the NetBeans team decided to completely do without further LTS versions and instead concentrate on quarterly updates – with appropriately adapted versioning. According to the official roadmap the next version, NetBeans 13.0, is scheduled for February 2022.

The previous version NetBeans 12.5 appeared shortly after Java 17 and brought experimental support for the LTS release with it. In version 12.6, the status is still considered experimental, but the use of pattern matching for switch expressions and switch statements is now possible. That since Java 17 Feature available as a preview is intended to enable the testing of expressions against a number of patterns in order to express complex, data-oriented queries precisely.

In addition, NetBeans 12.6 updates the nbjavac plug-in to the new language version and increases the Gradle tooling to version 7.3, which is compatible with Java 17. Additional Java-related changes affect Maven, Groovy and Jakarta EE.

Both the debugger and the NetBeans platform present new features in version 12.6: the debugger is supposed to handle remote debugging faster thanks to performance optimizations and the revised YAML parser offers error recovery. Other changes concern, among other things, the use with PHP, HTML and C ++.

The open source IDE runs on Windows, macOS, Linux and BSD. Java LTS version 8 or 11 is required for installation.

All other information about the release offers the Apache NetBeans blog.


Article Source

Read Also   Astronomy: Remains of a gigantic collision between two exoplanets found
Share your love