You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2019/03/09 04:13:00 UTC

[jira] [Updated] (NETBEANS-1780) Formatting issue in Switch Expression(JDK-12)

     [ 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists