You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Anton V. Kirilchik (JIRA)" <ji...@apache.org> on 2018/02/26 11:11:00 UTC

[jira] [Commented] (NETBEANS-236) Incorrect brace spacing in try-with-resources

    [ https://issues.apache.org/jira/browse/NETBEANS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376679#comment-16376679 ] 

Anton V. Kirilchik commented on NETBEANS-236:
---------------------------------------------

Cannot reproduce this with 8.2 (NB removes this space during formatting if i insert it manually):

 
*Product Version:* NetBeans IDE 8.2 (Build 201705191307)

*Updates:* NetBeans IDE is updated to version [NetBeans 8.2 Patch 2|http://wiki.netbeans.org/NetBeans8.2PatchesInfo]

*Java:* 1.8.0_161; Java HotSpot(TM) 64-Bit Server VM 25.161-b12

> Incorrect brace spacing in try-with-resources
> ---------------------------------------------
>
>                 Key: NETBEANS-236
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-236
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Formatting &amp; Indentation
>    Affects Versions: 8.2
>         Environment: build 152
>            Reporter: Gili
>            Priority: Major
>
> Given:
> {{try (Session session = scope.getSession())}}
> Invoking code-format results in:
> {{try ( Session session = scope.getSession())}}
> in spite of the fact that the IDE is configured not to insert a space inside the parenthesis.



--
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