This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253941 - AutoCOmpletion of loop does not filter out incorrect option
Summary: AutoCOmpletion of loop does not filter out incorrect option
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-29 11:02 UTC by markee174
Modified: 2015-07-29 11:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description markee174 2015-07-29 11:02:40 UTC
Autocompletion of 

List<String> strings;
    List<Number> nums;    
    
    public void test(Set<String> setString) {
      for(String s :)          
      
    }

offers both nums and strings
Comment 1 Dusan Balek 2015-07-29 11:16:59 UTC
As designed behaviour - code completion should offer both, but strings should be offered as 'smart item' at the top of the list.