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 - Introduce limit of result for code completion
Summary: Introduce limit of result for code completion
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 19:43 UTC by markiewb
Modified: 2015-04-07 19:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.