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.
I investigated code completion in Qt project and found such problem. Static methods doesn't is appears in code completion listbox. Simple testcase: - Create on disk c:/lib/test.h file ================================== class A { public: int f1() {} static int f2() {} protected: int f3() {} static int f4() {} private: int f5() {} static int f6() {} }; ================================== - Create C++ project - Add 'c:/lib' path into project properties - Create new C++ file with such code: ================================== #include <stdlib.h> #include "test.h" int main(int argc, char** argv) { A* a = new A(); A::f2(); a->f1(); a->f2(); return (EXIT_SUCCESS); } ================================== ==> Code completion works correctly in 'a->f1();' and 'a->f2();' line Code completion doesn't work after 'A::'
thanks, As I see this is the case only when class is defined in library for own project classes it works fine...
fixed in trunk http://hg.netbeans.org/main?cmd=changeset;node=4e7d5a0ac2d2 + test http://hg.netbeans.org/main?cmd=changeset;node=8ad959d96b4a
verified in NB6.1RC1 with provided org-netbeans-modules-cnd-completion.jar
verified in trunk (Build 200804190003)
fix backported into release61_fixes branch changeset: 77534:1ba52d2dc191
fix backported into release61_fixes branch add new file(testLibraryClassStaticFunctions.ref) changeset http://hg.netbeans.org/release61_fixes/rev/afa066026a2c