[jira] [Commented] (NETBEANS-6129) Extra space in try with resources without nb-javac
[ https://issues.apache.org/jira/browse/NETBEANS-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563545#comment-17563545 ] Andrew commented on NETBEANS-6129: -- Seems due to: [WE HAVE MOVED TO GITHUB ISSUES|https://issues.apache.org/jira/browse/NETBEANS-6470] We all need to upvote & monitor the following issue: https://github.com/apache/netbeans/issues/3720 > Extra space in try with resources without nb-javac > -- > > Key: NETBEANS-6129 > URL: https://issues.apache.org/jira/browse/NETBEANS-6129 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 12.5, 13 >Reporter: Dominik Derwiński >Priority: Minor > > Automatic formatting adds a space for try with resources if nb-javac is not > installed: > {code:java} > try ( MyType myObject = new MyType()) { > } > {code} > Once nb-javac is installed the space goes away: > {code:java} > try (MyType myObject = new MyType()) { > } > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - 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] [Commented] (NETBEANS-6129) Extra space in try with resources without nb-javac
[ https://issues.apache.org/jira/browse/NETBEANS-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17551623#comment-17551623 ] Brady Vidovic commented on NETBEANS-6129: - Confirmed here as well on Netbeans 13. I tried multiple different configurations in Tools --> Options --> Java --> Editor–>Formatting --> Spaces, but nothing fixed the issue. Is there any workaround until this can be fixed? > Extra space in try with resources without nb-javac > -- > > Key: NETBEANS-6129 > URL: https://issues.apache.org/jira/browse/NETBEANS-6129 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 12.5, 13 >Reporter: Dominik Derwiński >Priority: Minor > > Automatic formatting adds a space for try with resources if nb-javac is not > installed: > {code:java} > try ( MyType myObject = new MyType()) { > } > {code} > Once nb-javac is installed the space goes away: > {code:java} > try (MyType myObject = new MyType()) { > } > {code} -- This message was sent by Atlassian Jira (v8.20.7#820007) - 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] [Commented] (NETBEANS-6129) Extra space in try with resources without nb-javac
[ https://issues.apache.org/jira/browse/NETBEANS-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523503#comment-17523503 ] Andrew commented on NETBEANS-6129: -- Confirm the same here: Netbeans 13.0, Java Azul 11, Windows 10. It shows that installed nb-javac has version 17.0.1 Would be nice to have it fixed. > Extra space in try with resources without nb-javac > -- > > Key: NETBEANS-6129 > URL: https://issues.apache.org/jira/browse/NETBEANS-6129 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 12.5, 13 >Reporter: Dominik Derwiński >Priority: Minor > > Automatic formatting adds a space for try with resources if nb-javac is not > installed: > {code:java} > try ( MyType myObject = new MyType()) { > } > {code} > Once nb-javac is installed the space goes away: > {code:java} > try (MyType myObject = new MyType()) { > } > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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] [Commented] (NETBEANS-6129) Extra space in try with resources without nb-javac
[ https://issues.apache.org/jira/browse/NETBEANS-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447671#comment-17447671 ] md_5 commented on NETBEANS-6129: I can confirm this issue. > Extra space in try with resources without nb-javac > -- > > Key: NETBEANS-6129 > URL: https://issues.apache.org/jira/browse/NETBEANS-6129 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation >Affects Versions: 12.5 >Reporter: Dominik Derwiński >Priority: Minor > > Automatic formatting adds a space for try with resources if nb-javac is not > installed: > {code:java} > try ( MyType myObject = new MyType()) { > } > {code} > Once nb-javac is installed the space goes away: > {code:java} > try (MyType myObject = new MyType()) { > } > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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