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 83992 - Code Completion list contain items from other projects
Summary: Code Completion list contain items from other projects
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-09-01 07:47 UTC by soldatov
Modified: 2007-08-06 18:12 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-09-01 07:47:52 UTC
- Create "Args" sample project
- Create "C/C++ Application" project and add in this project this file:
------------------------------
int main() {
    
    return(0);
}

------------------------------
- Move cursor in "main" function and press ctrl-space
==> code completion contain a lot of external function 
- Close all projects
- Open "C/C++ Application" project again
==> code completion contain a lot of external function 
I should restart IDE, If I want to have correct code completion list
Comment 1 Alexander Simon 2006-09-07 15:19:49 UTC
fixed by:
 - new method resolveFile for CsmModel
 - moved responsibility on resolving file from CsmUtilities to ModelImpl

CVS log:
Checking in modelutil/src/org/netbeans/modules/cnd/modelutil/CsmUtilities.java;
/shared/data/ccvs/repository/cnd/modelutil/src/org/netbeans/modules/cnd/modelutil/CsmUtilities.java,v
 <--  CsmUtilities.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in
modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/ModelImpl.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/csm/core/ModelImpl.java,v
 <--  ModelImpl.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Checking in modelapi/src/org/netbeans/modules/cnd/api/model/CsmModel.java;
/shared/data/ccvs/repository/cnd/modelapi/src/org/netbeans/modules/cnd/api/model/CsmModel.java,v
 <--  CsmModel.java
new revision: 1.2.2.2; previous revision: 1.2.2.1
done
Comment 2 Maria Tishkova 2007-08-06 18:11:42 UTC
5.5.1u1