[jira] [Updated] (NETBEANS-3204) Default formater behavior on switch expression
[ https://issues.apache.org/jira/browse/NETBEANS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Graf updated NETBEANS-3204: Fix Version/s: 11.3 > Default formater behavior on switch expression > --- > > Key: NETBEANS-3204 > URL: https://issues.apache.org/jira/browse/NETBEANS-3204 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting Indentation >Affects Versions: 11.2 >Reporter: Benjamin Graf >Priority: Minor > Labels: pull-request-available > Fix For: 11.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Using JDK 13 latest switch expression preview feature works very well but > using default formatter option seems not works as I would expect by deleting > all spaces between case value and expression arrow. One space would look > nicer IMHO. > Expected: > {code:java} > switch (i) { > case 1 -> > System.out.println(""); > } > {code} > As is: > {code:java} > switch (i) { > case 1-> > System.out.println(""); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-3204) Default formater behavior on switch expression
[ https://issues.apache.org/jira/browse/NETBEANS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-3204: - Labels: pull-request-available (was: ) > Default formater behavior on switch expression > --- > > Key: NETBEANS-3204 > URL: https://issues.apache.org/jira/browse/NETBEANS-3204 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting Indentation >Affects Versions: 11.2 >Reporter: Benjamin Graf >Priority: Minor > Labels: pull-request-available > > Using JDK 13 latest switch expression preview feature works very well but > using default formatter option seems not works as I would expect by deleting > all spaces between case value and expression arrow. One space would look > nicer IMHO. > Expected: > {code:java} > switch (i) { > case 1 -> > System.out.println(""); > } > {code} > As is: > {code:java} > switch (i) { > case 1-> > System.out.println(""); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists