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.
NetBeans is using simple plain text to display the most verbose form of a javac diagnostic, which makes it hard for a user to read on screen. javac provides mechanisms to remove unnecessary details from a diagnostic, and to facilitate the use of rich text to display the message -- but as yet, NetBeans does not use those features. A couple of the blog entries are: http://blogs.oracle.com/jjg/entry/improving_javac_diagnostics http://blogs.oracle.com/mcimadamore/entry/rich_diagnostics_landed_on_javac
Created attachment 113561 [details] Screenshot showing long tooltip popup
There are potentially two issues here: one is with respect to the popup dialog, the second, arguably harder one is the diags that appear in the compilation output window. Although red-squigglies are nice, there are times when it is easier to fix issues in the order found in the compilation window.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/1a455d3bead6 User: Jan Lahoda <jlahoda@netbeans.org> Log: #205595: using RichDiagnosticFormatter to produce Diagnostic.getMessage.
(In reply to comment #2) > There are potentially two issues here: one is with respect to the popup dialog, > the second, arguably harder one is the diags that appear in the compilation > output window. Although red-squigglies are nice, there are times when it is > easier to fix issues in the order found in the compilation window. Hm, changing anything in the output window is really much harder. NetBeans virtually never runs javac directly, it uses either ant or maven to perform the compilation. I can imagine some non trivial ways to hook into the ant's process, but I have no idea how to do that with maven (which may be caused by my lack of knowledge of maven). Note that there is a Tasks window (menu Window/Tasks) that can also show the compilation errors - its only necessary to enable "Compilation Errors" in the selected filter.