Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

New JDK 14 and 15-Specific Java Language Features

  • Code coloring. Keywords "sealed", "non-sealed", and "permits" are highlighted conforming to the existing styles of all other Java keywords.

    Image Added

  • Code formatting for "sealed" type. Extended the Java code formatting feature to include "sealed" and "permits" clauses for the first time.

    Image Added

  • Auto-completion for "sealed" type. Added keyword "sealed" and "non-sealed" before "class" declaration. Added "permits" only in the allowed location, i.e., the "permits" clause is not allowed to be put before "extends" and "implements" clause, if present.

    Image Added


  • Sealed color and formatting: https://github.com/apache/netbeans/pull/2282
  • As IDE Netbeans will be supporting following features for sealed type introduced in JDK-15 as preview feature.

    a) Code coloring- Keywords sealed, non-sealed and permits are highlighted slimier to other older keywords.

    Image Removed

    b) Code formatting- Netbeans allow automatic code formatting, and sealed and permits keywords are new features which will be allowed in editor to get formatted..

    Image Removed

    c) Auto-completion for sealed - added keyword sealed, non-sealed before class declaration and added permits only on the allowed location(permits clause is not allowed to put before extends and implements clause if they are present in a class)

    Image Removed

  • Auto completion for Sealed Types: https://github.com/apache/netbeans/pull/2283
  • Fixed Record Formatting issue with use of annotation: https://github.com/apache/netbeans/pull/2391

  • Fixed issue: refactor record rename & move record file to other package: https://github.com/apache/netbeans/pull/2310 

  • Invoke code completion for "Record" variable name and the editor will analyze the context and then suggest choices that are reachable from the current caret position.

    Image Added

  • Fixed JavaDoc listing for class-type RECORD on auto completion: https://github.com/apache/netbeans/pull/2412

  • nb-javac fork supports JDK 15: https://github.com/apache/netbeans/pull/2408

...

JavaFX

...

...

NOTE

  • We haven't finished implementing PHP 8.0 support yet. It means that some new syntaxes are not supported yet(e.g. Attribute, named parameter,...).

Library Upgrades

...