[
https://issues.apache.org/jira/browse/NETBEANS-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Laszlo Kishalmi updated NETBEANS-1780:
--------------------------------------
Labels: 11.0-vc3 NB-JDK12 pull-request-available (was: NB-JDK12
pull-request-available)
> Formatting issue in Switch Expression(JDK-12)
> ---------------------------------------------
>
> Key: NETBEANS-1780
> URL: https://issues.apache.org/jira/browse/NETBEANS-1780
> Project: NetBeans
> Issue Type: Bug
> Reporter: ARUNAVA SINHA
> Assignee: ARUNAVA SINHA
> Priority: Major
> Labels: 11.0-vc3, NB-JDK12, pull-request-available
> Fix For: 11.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
>
>
> enum colors \{RED,BLUE};
> colors color = colors.RED;
> int i = switch(color)
> {
> case RED -> break 6;
> default -> break 7;
> };
> On Alt+Shft+F formatting should happen properly.
> Currently formatting is incorrect.
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists