...
- General Java Editor Features
- "main" is a new shortcut, that does the same as "psvm", i.e., creates 'public static void main'
- "main" is a new shortcut, that does the same as "psvm", i.e., creates 'public static void main'
- New JDK 14 Language Features
- JEP 359: Records (Preview), syntax coloring, Navigator support, and formatting of the new Java Records. Run 12.0 on JDK 14 and create a class like this, the syntax coloring should be not broken and the Navigator should show equals, hashCode, toString, x, y:
public class Foo {
public record Bar(String x, int y) {
}
}
- JEP 359: Records (Preview), syntax coloring, Navigator support, and formatting of the new Java Records. Run 12.0 on JDK 14 and create a class like this, the syntax coloring should be not broken and the Navigator should show equals, hashCode, toString, x, y:
- New JDK 13 Language Features
- JEP 355: Switch Expressions (Preview Feature), as shown below, addition needed to Java Syntax Coloring test spec.
- JEP 355: Text Blocks (Preview Feature), hint for converting to/from text blocks, as shown below, addition needed to Java Hints test spec for this.
- JEP 355: Switch Expressions (Preview Feature), as shown below, addition needed to Java Syntax Coloring test spec.
- New JDK 12 Language Features
- JEP 325: Switch Expressions (Preview) – code completion for JEP-325 preview feature for multiple case labels, as shown below, addition needed to Java Code Completion test spec.
- JEP 325: Switch Expressions (Preview) – code completion for JEP-325 preview feature for multiple case labels, as shown below, addition needed to Java Code Completion test spec.
- New JDK 11 Language Features
- JEP 330: Launch Single-File Source-Code Programs – a new Java source file can be created in the Favorites window, it can be run, and debugged.
...