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/05 12:50:00 UTC

[jira] [Created] (NETBEANS-4686) Should not close parenthesis automatically if there exists paired closing parenthesis

KoKo created NETBEANS-4686:
------------------------------

             Summary: Should not close parenthesis automatically if there exists paired closing parenthesis
                 Key: NETBEANS-4686
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4686
             Project: NetBeans
          Issue Type: Improvement
          Components: java - Editor
    Affects Versions: 11.3, 12.0
            Reporter: KoKo


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