Versions Compared

Key

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

...

  • 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, etc:

      public class Foo {
          public record Bar(String x, int y) {
          }
      }



      Impacted NetCAT test spec: 
      Status:

  • New JDK 13 Language Features

    • JEP 355: Switch Expressions (Preview Feature), as shown below.



      Impacted NetCAT test spec: Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status:

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





      In the Options window, go to Fonts & Colors, choose Syntax, "Java" in Language drop-down, "Text Block" in Category list, then change the Background to something different and then check that the new color is applied in the editor for text blocks.

      Impacted NetCAT test spec: Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status:

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

      Impacted NetCAT test spec: Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status:

      Hint for converting to JEP-325 preview feature for switch expressions:



      Impacted NetCAT test spec: Addition needed to Java Syntax Coloring test spec to verify that the syntax colouring for switch expressions is correct.
      Status:

...