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

  • 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.

  • Auto completion for Sealed Types: https://github.com/apache/netbeans/pull/2283

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

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



  • c) 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.


  • 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

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

...