You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "KoKo (Jira)" <ji...@apache.org> on 2020/08/06 06:58:00 UTC

[jira] [Updated] (NETBEANS-4686) Do not automatically insert closing parenthesis if already present when typing opening parenthesis

     [ https://issues.apache.org/jira/browse/NETBEANS-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

KoKo updated NETBEANS-4686:
---------------------------
    Summary: Do not automatically insert closing parenthesis if already present when typing opening parenthesis  (was: Should not close parenthesis automatically if there exists paired closing parenthesis)

> Do not automatically insert closing parenthesis if already present when typing opening parenthesis
> --------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4686
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4686
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: java - Editor
>    Affects Versions: 12.0, 11.3
>            Reporter: KoKo
>            Priority: Major
>
> If we have the code below:
> {code:java}
> // there is whitespace between parentheses
> new HashMap<>( );
> {code}
>  
> Steps to reproduce:
>  # delete the opening parenthesis (
>  # type in the opening parenthesis (
>  
> The code should become:
> {code:java}
> // there is whitespace between parentheses
> new HashMap<>( );
> {code}
>  
> but was:
> {code:java}
> // there is whitespace between parentheses
> new HashMap<>() );
> {code}
>  The closing parenthesis is inserted automatically.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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