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 135014 - Tasklist should contain source-code hints
Summary: Tasklist should contain source-code hints
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 5 votes (vote)
Assignee: Svata Dedic
URL:
Keywords: USABILITY
: 151760 166859 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-14 05:38 UTC by _ gtzabari
Modified: 2013-09-02 14:24 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 _ gtzabari 2008-05-14 05:38:53 UTC
The tasklist should list any error/warning source-code hints generated by Netbeans. Currently one has to open every
single file in a project and check for annotations manually. This could take hours to do for a medium sized project.
Comment 1 _ gtzabari 2008-09-09 22:00:18 UTC
As of Netbeans 6.5, the tasklist filter has an option for listing Java Errors. Now, all we need is for the filter to
also scan for Java Warnings. Would this require little work or is scanning for warnings much harder than for errors?
Comment 2 Jan Lahoda 2008-09-12 13:30:23 UTC
The Java warnings that are produced by the compiler are shown by the default provider if enabled
(Tools/Options/Editor/Hints/Java/Standard Javac Warnings). These errors and warnings are computed during the initial
scan which needs to be done anyway - they are only visualized by the tasklist provider.

The warnings that are produced by the IDE are different - these are not produced by the compiler during initial scan,
and there would need to be a separate pass to compute them, affecting performance.
Comment 3 Jiri Prox 2009-06-10 15:07:46 UTC
*** Issue 166859 has been marked as a duplicate of this issue. ***
Comment 4 Petr Jiricka 2009-06-10 15:41:33 UTC
The terminology really needs to be cleaned up. In the tasklist filter, it says it displays "Java Errors". And you are
saying these correspond to the "Standard Javac Warnings" section in the hints settings. Next, in the Hints setting
dialog, on the right hand side you can choose whether a particular item should be shown as "Warning" or "Error". And if
you use "Error", I would expect that this corresponds to "Java Error" item in the tasklist filter - and it does not.

So, the at least the terminology aspect is something that should be treated as a (usability) defect.
Comment 5 _ gtzabari 2009-06-10 16:14:02 UTC
pjiricka,

Just to be clear, I would want to be able to display *both* errors and warnings in the tasklist window. I view the
tasklist as a nice way of pooling together all notes/warnings/errors from all files in the project and being able to
filter them to suit my tastes. It saves me time from having to open up all files one at a time and checking if any of
them need attention.
Comment 6 Jesse Glick 2011-06-22 13:27:27 UTC
*** Bug 151760 has been marked as a duplicate of this bug. ***
Comment 7 _ gtzabari 2012-08-04 11:16:58 UTC
escortkee,

"Version" should point to the initial version this feature was requested for. Please do not update it to newer versions.