Versions Compared

Key

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

...

2853Reema, Jan
Sl No.IssueSummaryAssignee
1NETBEANS-28522917Support 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-

Autocomplete for yield keyword not supported inside case body of Switch-Expression(JDK-13)Arunava Sinha
4NETBEANS-2855Issue in ErrorHint :DifferentCaseKindsFix with JDK-13Arunava Sinha
5NETBEANS-2857Syntax highlighting for yield keyword inside switch-expression is not happeningArunava Sinha
6Auto-completion is not working inside case body of switch-expression(JDK-12/13)Arunava Sinha
7

NETBEANS-2859

Add JDK 13 Text Blocks support in Java Editor

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.