You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Neil C Smith (JIRA)" <ji...@apache.org> on 2019/07/03 09:46:00 UTC

[jira] [Updated] (NETBEANS-2762) for* code completion has gotten dumber

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

Neil C Smith updated NETBEANS-2762:
-----------------------------------
    Fix Version/s: 11.1

> for* code completion has gotten dumber
> --------------------------------------
>
>                 Key: NETBEANS-2762
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2762
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Editor
>    Affects Versions: 9.0, 10.0, 11.0, 11.1
>         Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 11; Java HotSpot(TM) 64-Bit Server VM 11+28
> Runtime: Java(TM) SE Runtime Environment 11+28
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\luca.mambretti.BZDOMAIN\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\luca.mambretti.BZDOMAIN\AppData\Local\NetBeans\Cache\11.1
>            Reporter: Luca Mambretti
>            Priority: Major
>              Labels: pull-request-available, regresion
>             Fix For: 11.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I've noticed that the usual code completion for "for* cycles" has gotten way dumber than the oracle powered version 8.2.
>  
> In 8.2 if you had code like this:
>  
> {{  public static void main(String[] args)}}
> {{  {}}
> {{    String[] strings = \{"1","2","3"};}}
> {{    }}
> {{  }}}
>  
> and you wrote "fore" then invoked code completion via shortcut it would generate the following block:
> {{}}{{    for (String string : strings)}}
> {{    {}}
> {{      }}
> {{    }}}
>  
> now in 11.1 but I've also tried with 9.0 and it's the same it generates:
> {{}}{{    for (Object object : col)}}
> {{    {}}
> {{      }}
> {{    }}}
>  
> not really that bad but definitely annoying compared to the previous version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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