[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&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: 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&focusedCommentId=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-10-12 Thread John Neffenger (Jira)


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

John Neffenger commented on NETBEANS-236:
-

I confirm that this problem occurs on NetBeans version 11.2-beta2 only when the 
_nb-javac_ plugin is *not* installed. It is a problem for me because I 
uninstalled the _nb-javac_ plugin due to NETBEANS-2290, "OnePassCompileWorker 
AssertionError followed by MultiPassCompileWorker NullPointerException."

Is it still a bug if the problem occurs when using the Java compiler in the 
JDK, in this case OpenJDK version 13?


> 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&focusedCommentId=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&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: 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&focusedCommentId=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&focusedCommentId=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



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