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

a. Quotes Completion and Syntax Highlighting :

Text block is  enclosed in with triple quotes. Code Completion Auto completion of triple quotes will be available in NB-11.2

Image Removed

triggered once user press double quotes key three times.

Text inside triple-quotes Syntax Highlighting : text are marked in orange color.

Image RemovedImage Added

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


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