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 251708

Summary: Introduce limit of result for code completion
Product: editor Reporter: markiewb
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description markiewb 2015-04-07 19:43:26 UTC
Press CTRL-SPACE twice in the Java editor without any pretyped text.
The CC opens after seconds and proposes thousands of matches (all matches from libs and JDK). Noone will ever scroll through this mirads of items to select an entry.

EXPECTED: Limit the code completion to f.e. 100 items 

(This would make NB faster, because it would stop the providers work, when 100 items are reached and 100 items use less memory than thousands of items). When the number it reached, show as the last entry in code completion like "Maximum number of entries reached. Please make your search more concrete".

The number may be configured in options or cmdline switch.