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.
[ BUILD # : 6.5 Beta ] [ JDK VERSION : 1.6.0_05 ] 1) In a new Java Application project, create a class FooBar and use it in the class Main. 2) Open a java editor on the Main.java file. 3) Delete the file Foobar.java See the first problem: nothing is red-underlined in the view of the Main.java file. (see screenshot 1) 4) Close the Main.java editor tab. 5) Reopen it, you will normally see the errors as underlined stuffs. 6) Restore your Foobar.java file to where it was before. Second problem: the underlined stuffs stay there. (see screenshot 2)
Created attachment 67337 [details] first problem
Created attachment 67338 [details] second problem
reproducible, the error is not highlighted until the file is modified or reopened
Is it easy to fix, Honzo?
Fixed in the current dev build. Error underlining is updated whenever editor gets focus (there is no need for reopening it anymore).