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.

Bug 187887 - Provide option to display editor hints in Output window
Summary: Provide option to display editor hints in Output window
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 13:02 UTC by twolf2919
Modified: 2016-07-07 07:27 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description twolf2919 2010-06-21 13:02:39 UTC
NB 6.9 has a *lot* more hints/suggestions on improving the source code - there's actually quite a bit of overlap with standalone/plugin static analysis tools such as PMD, FindBugs, etc.

But currently, these hints appear to be entirely contained within the "Editor" - i.e. the hint selection options are under the "Editor" tab and the hints themselves appear to only show up in the gutter of the editor.  This is fine if you're looking to COMPOSE perfect code.  But what about providing some help identifying problems with EXISTING code?  It's not really realistic to manually visit every java file in a project and scroll through the file to search the gutter for hints.  It would be extremely useful if the shortcomings are shown on the output window as part of the compile cycle!  This way we can find *all* problems across the project and we can fix them right alongside compiler errors.

So, can we have an option to display editor hints in the Output Window?  Just like compiler errors/warnings, the output should have a link back to the file/line number so one can easily fix the problem.
Comment 1 Vitezslav Stejskal 2010-06-23 08:42:05 UTC
Isn't this what Window > Tasks is for?
Comment 2 twolf2919 2010-06-23 13:39:56 UTC
Vitezlav,
Actually, no.  From what I can tell, you can't have "Editor Hints" as a Filter on the task list.  The "Compiler Errors" filter only shows javac errors/warnings - there are a heck of a lot more useful editor hints.  Like I said - some of those editor hints begin to encroach on static analysis plugins like PMD (which, alas, isn't supported any longer in 6.9 :-(

Maybe this feature could be implemented as a new filter on the Tasks list - I don't know whether editor hints lend themselves to that.  My personal preference would be, as the bug says, to put them in the Output window - since that's where I'm fixing compiler errors from already!  (actually, I think that's a shortcoming with showing compiler compiler warnings as Task List entries - they're more naturally resolved in the output window too...at least as an option).
Comment 3 Vitezslav Stejskal 2010-06-25 07:53:35 UTC
I see, thanks for the clarification.
Comment 4 Martin Balin 2016-07-07 07:27:27 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss