Versions Compared

Key

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


Sl No.IssueSummaryAssignee
1NETBEANS-
2852
2917Support for Yield in Switch-Expression for
Fomatting Issue in Yield Statement of Switch Expression(
JDK-13 (based on  JEP-354)Arunava
Sinha
.Jan
2

NETBEANS-

2853Autocomplete for yield keyword not supported inside case body of Switch-Expression(JDK-13)Arunava Sinha3NETBEANS-2854ErrorHint to convert break statement to yield statement for switch expression in JDK-13Arunava Sinha4NETBEANS-2855Issue in ErrorHint :DifferentCaseKindsFix with JDK-13Arunava Sinha5NETBEANS-2857Syntax highlighting for yield keyword inside switch-expression is not happeningArunava Sinha6Auto-completion is not working inside case body of switch-expression(JDK-12/13)Arunava Sinha

2859

Add JDK 13 Text Blocks support in Java Editor(based on  JEP-355)Reema, Jan


1. Switch Expression Yield Support .

a. Syntax Highlighting:

Image Added


b. Formatting of Switch Expression including Yield

Image Added

c. Code Completion of Yield

Image Added

2. Text Block Support

a. Quotes Completion and Syntax Highlighting :

Text block is  enclosed with triple quotes. Auto completion of triple quotes will be triggered once user press double quotes key three times.

Text inside triple-quotes are marked in orange color.

Image Added

b. Hint : To convert normal String literal to Text Block.

Image Added


Note :  Switch Expressions/Text Blocks are preview features. User need to add --enable-preview  JVM argument in compiler-options in NB.