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 - No keywords in Code Completion list If user calls list at first column
Summary: No keywords in Code Completion list If user calls list at first column
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 09:41 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 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