...
- 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 - Netbeans allow automatic code formatting, and sealed and permits keywords are new features which will be allowed in editor to get formatted..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
...