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.
See screenshot from 041006 custom + JDK 1.5.0 of usages of FileObject.isVirtual. Look at e.g. JMManager.java's match: if (fo.isVirtual() || !fo.isValid()) { // simply ignore virtual and invalid files return null; } Where does the comment end and the real code resume? Suggest one of: 1. Show only the actual line of text, not the whole block. Would also solve the problem of the absurdly long horizontal scrolling here. 2. Trim all line or block comments before displaying. Might make it harder to see what something is doing, however. 3. Show comments, but in a different face, e.g. in grey, so they cannot be confused with code.
Created attachment 18107 [details] Screen shot
Currently only line with usage is shown, not whole statement.