[
https://issues.apache.org/jira/browse/NETBEANS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853854#comment-16853854
]
Ben Alex commented on NETBEANS-236:
-----------------------------------
[^defaults.zip]
Attached to this comment is an export of the formatting configuration from
NetBeans 11 that produces incorrect formatting. Thanks.
> 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 & Indentation
> Affects Versions: 8.2
> Environment: build 152
> Reporter: Gili
> Assignee: Gili
> Priority: Major
> Fix For: 9.0
>
> Attachments: defaults.zip
>
>
> 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: [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