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.
This is in version 3.4.1 RC2 (there is no 3.4.1 dev version defined in IssueZilla, why is that?) When editing Java code, errors are not annotated as I type, even if I pause for a while, or even save. The explorer node and the editor tab for the file both correctly display the red 'x' annotation whenever errors are present in the file, but in the code, the error highlighting is not shown. When I close the editor tab and open the file again, the code errors ARE annotated. If I edit within an annotation the annotation is removed (correctly), but when I undo the edit, reinstating the error, the annotation does not come back, despite my pausing, saving, and attempting "Tools -> Synchronize". It only comes back when I close and open (disturbingly similar to the Windows just-reboot-it syndrome :) I am pretty sure annotations were redone on-the-fly in previous Netbeans versions, so this seems like a regression; in any case it is certainly a usability flaw. And since it clearly is detected that there are errors in the code, one would think it wouldn't be much more expensive to update annotations in the code to show those errors -- so this presumably is not the intended behavior. But if this IS the intended behavior, is there any documentation (or list discussion) behind that?
... and likewise, when I fix annotated errors and save, the error annotations are not removed. They are removed only when I close and open again.
This behavior is not exhibited consistently: I am now editing another source file and the annotations are updated on-the-fly as I'm used to. I don't know what the difference could be; I don't remember where I was editing before, when I experienced the above problems (sorry!).
You are right that annotations is redone on-the-fly ( depending on the Automatic Parser Delay which is 2 seconds by default). Closing as works-for-me. If you know how to reproduce it, please reopen this issue and add steps how to reproduce it. Thanks.
Could not reproduce just now, in Tegal.
Reorganization of java component