Versions Compared

Key

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

...

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

NETBEANS-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

Code Completion

Formatting

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.

Syntax Highlighting

Image Added


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