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 251499 - Too long first completion list in empty line
Summary: Too long first completion list in empty line
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 10:03 UTC by soldatov
Modified: 2015-04-01 02:53 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 soldatov 2015-03-30 10:03:10 UTC
C++ code:
int fff() {
    return 0;
}

int main(int argc, char** argv) {
    
    return 0;
}

Scenario:
- Call Code Completion in main()
==> Code Completion list has not 'fff()' item
- Type f
==> 'fff()' item appears

Same behavior I expect with C/C++ keywords. 0-15 most popular keywords in first Code Completion list and all keywords in second (full) Code Completion list.
Comment 1 Alexander Simon 2015-03-30 14:44:02 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/8de8bfb55f02
Comment 2 Alexander Simon 2015-03-30 14:49:44 UTC
removed from fist completion:
- all keywords that start with "_"
- all keywords that contains less then 5 chars
- all alternative logical operators ("and", "bitor", ...)
Comment 3 Quality Engineering 2015-04-01 02:53:49 UTC
Integrated into 'main-silver', will be available in build *201504010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8de8bfb55f02
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #251499 Too long first completion list in empty line
and Bug #251498 No keywords in Code Completion list If user calls list at first column