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 198895 - C++ code completion not working correctly
Summary: C++ code completion not working correctly
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 01:52 UTC by jcrada
Modified: 2011-07-06 14:11 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 jcrada 2011-05-26 01:52:18 UTC
Hi,

the C++ code completion is not working correctly on version 7.0 for C++ development. Whenever I active code completion, the suggestions are always related to systems library and not those regarding the current project I am working. In order to get the ones I am interested, I have to activate several times the code completion (hit several times CTRL + Space) and then they appear.

It worked PERFECT on version 6.9.x.

What happened with version 7.0?

Reproduce: Create some headers (.h), some sources (.cpp), try to do code completion on the sources for implementing declared classes/methods.

Regards,

Juan
Comment 1 Leonid Lenyashin 2011-05-31 10:16:12 UTC
Sounds bad, upgrading
Comment 2 Vladimir Voskresensky 2011-06-05 18:19:03 UTC
Can you provide test sample or grap video, please?
It works fine for me.
I've created header file with class declaration:
#ifndef NEWFILE_H
#define	NEWFILE_H

class ClassA {
public:
    ClassA();
    ClassA(const ClassA& orig);
    virtual ~ClassA();
private:

    void Foo();
    
    void Boo(int i, int j);
};


#endif	/* NEWFILE_H */


Then I created source file and typed 
void ClassA::
then selected Boo from list and code was completed as:
void ClassA::Boo(int i, int j)

thanks,
Vladimir.
Comment 3 Alexander Pepin 2011-07-06 14:11:38 UTC
No QA action needed so far.