Apache NetBeans 11.1 Features
source link: https://netbeans.apache.org/download/nb111/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Apache NetBeans 11.1 Features
Apache NetBeans 11.1 is the first Apache NetBeans release outside the Apache Incubator and the first release of the new quarterly release cycle.
The LTS release of the Apache NetBeans 11 cycle is Apache NetBeans 11.0. The 11.1 release has not been tested as heavily as the LTS release and may therefore be less stable. Use 11.1 to use the latest features and to provide feedback for the next LTS release, scheduled for April 2020. Go here to download Apache NetBeans 11.0, the current LTS release. |
Java EE
The highlights of enhancements in the Java EE area are the new Java EE 8 support, as well as the new and updated integration with Payara and GlassFish.
-
Java EE 8 support, for the first time, for Maven-based and Gradle-based Web applications. The new Java EE 8 support provides the ability to create Java EE 8 applications and deploy to a Java EE 8 container, with new "webapp-javaee8" Maven archetype created for use with Apache NetBeans.
-
Payara integration out of the box for the first time, with thanks to the Payara team.
-
Support for GlassFish 5.0.1.
The highlights of enhancements in the Java area are the support for new Java language features, integration with Gluon OpenJFX samples, together with enhancements and fixes for usage of the Maven and Gradle build systems.
Java Editor
The highlights of enhancements specifically in the Java Editor area are the support for new Java language features, including those provided by JEP-325 and JEP-330, as well as the initial support for inline parameters.
-
Code completion for JEP-325 preview feature for multiple case labels: https://github.com/apache/netbeans/pull/1175
-
Hint for converting to JEP-325 preview feature for switch expressions: https://github.com/apache/netbeans/pull/1193
-
Hint to turn on Preview Features in Maven-based Java projects: https://github.com/apache/netbeans/pull/1285
-
Java Migration profiles: https://github.com/apache/netbeans/pull/1212
-
"main" is a new shortcut, that does the same as "psvm", i.e., creates 'public static void main': https://github.com/apache/netbeans/pull/1176
-
Fixing automatic Jigsaw module name generation: https://github.com/apache/netbeans/pull/1274
OpenJFX
-
OpenJFX samples included, with thanks to the Gluon team: https://github.com/apache/netbeans/pull/1241
Maven
-
Java compiler args, e.g., "--enable-preview", passed to Java editor from Maven: https://github.com/apache/netbeans/pull/1173
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<compilerArgs>
<arg>--enable-preview</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
-
JaCoCo Maven integration is broken in NB 11.0: https://github.com/apache/netbeans/pull/1286
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.3</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<outputDirectory>${project.reporting.outputDirectory}/jacoco_test</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
-
Prevent Maven libraries from being excluded: https://github.com/apache/netbeans/pull/1271
Other
Other enhancements broadly related to the Java area are listed below.
-
Using Graal.js 19.0.0 via Scripting in platform/core.network: https://github.com/apache/netbeans/pull/1092
-
Separate Truffle source caches between multiple debugging sessions: https://github.com/apache/netbeans/pull/1252
-
Syntax coloring for Kotlin ".kt" files: https://github.com/apache/netbeans/pull/1228
-
Correct license information for Kotlin icon/grammar: https://github.com/apache/netbeans/pull/1229
NetBeans Platform / NetBeans APIs
Appearance
-
HiDPI splash screen with product version: https://github.com/apache/netbeans/pull/1246
-
Improve tabcontrol border appearance (HiDPI): https://github.com/apache/netbeans/pull/1284
-
Improve icon scaling on HiDPI displays, and prepare ImageUtilities for HiDPI icons: https://github.com/apache/netbeans/pull/1273
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK