[
https://issues.apache.org/jira/browse/NETBEANS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278288#comment-17278288
]
Chris McGee commented on NETBEANS-236:
--------------------------------------
This is exact problem is happening for me in NB 12.1 with OpenJDK 15. I can
confirm that installing nb-javac plugin fixes the problem. Should that plugin
be installed out of the box to avoid these sorts of problems?
> 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, 11.2
> Reporter: Gili
> Assignee: Gili
> Priority: Minor
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
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