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.
The user guide says that this is possible only my manually issuing and "Update code completions..." command. This is a problem with files generated by tools like xdoclet. XDoclet allows me to automatically generate home, remote, local and localHome interfaces and deployement descriptor from the implementation of an EJB, thus greatly reducing redundant coding. The problem bites me when I add a method in the interface: the remote interface is generated outside netbeans, the code completion database is not updated and thus coding the client I cannot see the completion for the new method. I have to request for a manual update. Would it be possible to have netbeans watch for modified files or at least add an ant task which requests netbeans to update the database, so that this activity could be made part of the build?
Btw, I'm not an expert but it should be possible to receive events about file system modifications somehow... how does jboss detect changes in the deploy folder instantly otherwise, I don't think it uses polling since the CPU use normally is 0.
Changing subcomponent to "code completion"
Parser databases were replaced by MDR. I am not sure, whether MDR is capable to update their databases after external modifications, thus reassigning to mdr for further comments.
The MDR catches all the file changes that filesystem notice and updates the data for code completion. So, this should work in NB4.0.