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

2021-02-03 Thread Chris McGee (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: 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-236) Incorrect brace spacing in try-with-resources

2019-10-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-236:


So let's try and get a clue about how to reproduce NETBEANS-2290, can you go 
over to that issue and provide steps to reproduce it?

> 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: 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-236) Incorrect brace spacing in try-with-resources

2019-06-02 Thread Ben Alex (JIRA)


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

Ben Alex commented on NETBEANS-236:
---

I'm pleased to report the installation of 
[nb-javac|https://blogs.apache.org/netbeans/entry/what-s-nb-javac-in] corrected 
this issue and formatting now operates as expected. Please feel free to close.

> 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: 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-236) Incorrect brace spacing in try-with-resources

2019-06-01 Thread Ben Alex (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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: 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-236) Incorrect brace spacing in try-with-resources

2018-02-26 Thread Gili (JIRA)

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

Gili commented on NETBEANS-236:
---

[~kosmonaffft] Thanks for checking. I can no longer reproduce the problem 
either. Sorry for the false alarm.

> 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
>
>
> 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-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-236) Incorrect brace spacing in try-with-resources

2018-02-26 Thread Anton V. Kirilchik (JIRA)

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

Anton V. Kirilchik commented on NETBEANS-236:
-

The same with latest master build.

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