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

Summary: Code Completion list contains 2 identical functions (definition and declaration)
Product: cnd Reporter: soldatov <soldatov>
Component: Code CompletionAssignee: Alexander Simon <alexvsimon>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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