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.
It appears that code completion (and especially override completion) is broken for inner classes. NetBeans IDE Dev (Build 200607301800) 1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-64 Mac OS X version 10.4.7 running on ppc en_US (nb); MacRoman
Created attachment 32437 [details] test source file
I connot found no inner class in the attached file, is it the right file? CC in inner classes are sensitive to syntax error in the code, if there is syntax error anywhere in the class (inner or outer) , the CC is not correct.
I must have uploaded the wrong file -- sorry. But you're right, it does seem to have something to do with the errors. As I start to override a method, in an inner class, sometimes it works sometimes it doesn't. It seems to depend on if the parser has run yet. In the newly uploaded file NewMain.java, if I go to the doS, wait a few seconds for the red error underline to appear, and then type ctrl+space, I won't be able to override. Code completion says "No Suggestions" If I remove the doS, save, wait a while, then quickly type doS ctrl+space, the override appears.
Created attachment 32468 [details] second upload, think I got it right this time
It seems that parser won't recover well from the situation when you type identifier "doS" after "public class Child extends Parent {". You may see that all the folds except for newMainDoSomething() disappear and also the navigator won't show anything else. Reassigning to javacore for further evaluation.
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component
it's working fine now -> verified Product Version: NetBeans IDE Dev (Build 20071106001900) Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06 System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)