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

Reply via email to