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 82801 - Code Completion list contains 2 identical functions (definition and declaration)
Summary: Code Completion list contains 2 identical functions (definition and declaration)
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 11:24 UTC by soldatov
Modified: 2007-08-06 18:09 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 2006-08-16 11:24:42 UTC
- Create "IO" sample project
- Go to main function
- Press Ctrl-space
==> Code Completion list contains 2 go() functions
Comment 1 soldatov 2006-08-29 07:42:07 UTC
If I defined function in *.cc and declared in *.h then Code Completion listbox
and Class View tab contain 2 identical functions.
Comment 2 Alexander Simon 2006-09-07 15:28:05 UTC
fixed by:
-method filterFunctionDefinition added. Methid filter out function definitions.

CVS log:
Checking in CsmProjectContentResolver.java;
/shared/data/ccvs/repository/cnd/completion/src/org/netbeans/modules/cnd/completion/csm/CsmProjectContentResolver.java,v
 <--  CsmProjectContentResolver.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Comment 3 Maria Tishkova 2007-08-06 18:08:07 UTC
verified, 5.5.1u1