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 251498

Summary: No keywords in Code Completion list If user calls list at first column
Product: cnd Reporter: soldatov <soldatov>
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2015-03-30 09:41:36 UTC
C++ code:
int fff() {
    return 0;
}

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

Scenario:
- Call Code Completion at first column in main() function
==> I see 7 items (no keywords)
- Call Code Completion at second column
==> a lot of items
Comment 1 Alexander Simon 2015-03-30 14:48:29 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/8de8bfb55f02

removed from fist completion:
- all keywords that start with "_"
- all keywords that contains less then 5 chars
- all alternative logical operators ("and", "bitor", ...)
Comment 2 Quality Engineering 2015-03-31 02:43:49 UTC
Integrated into 'main-silver', will be available in build *201503310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2e3623d1165c
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #251498 No keywords in Code Completion list If user calls list at first column
Comment 3 Quality Engineering 2015-04-01 02:53:32 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