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 180349 - Provide a "Filter" mechanism on the Output window
Summary: Provide a "Filter" mechanism on the Output window
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 10:23 UTC by twolf2919
Modified: 2012-12-24 19:30 UTC (History)
1 user (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-02-05 10:23:36 UTC
Currently, when I compile my project, I get quite a few warnings from the compiler about our project using "Sun proprietary API".  There's no way to hide these using javac options.  I know that we need to fix them - eventually - but in the meantime, all these warnings are obscuring the "real" errors and warnings.  I have to scroll through the API warnings to hunt down the error on my last compile!

I noticed that the "Tasks" window has a "Filter" mechanism that would be useful to have on the Output window.  I could simply create a filter for the above-mentioned output lines and, voila, my problem is solved.

I imagine such a filter would be useful on other occasions too - like when you're debugging a program that produces voluminous output: you could create a filter that hides everything but the printfs you're interested in.

Lots of good use cases for such a feature.  And, on the surface, it would be fairly straight-forward if the same feature from Tasks window can be reused.
Comment 1 Ondrej Langr 2010-02-08 03:15:31 UTC
Dafe, if you plan to work on this, please note that to avoid user's mistakes and confusion, the filter settings should be visible on the screen when applied, without having to deep-dive into some dialog. This way, the user will be able to quickly see what filter is applied to the output window when they come back to it after a longer period of time (having applied a filter before).
Comment 2 twolf2919 2010-02-08 06:39:14 UTC
Ondrej,
The Filter icon in the gutter of the Tasks window shows in a "depressed" state when a filter is applied.  Now, personally, I would have made the fact that a filter is applied a little less subtle (maybe use color in addition to the depressed state), but I like the fact that I don't have to always look at a line describing the applied filter (which permanently takes away real estate from the tasks window).  Are you saying an icon, as in task window, would not be enough for the Output Window?  Certainly, if no filter is selected for the Output Window, no space should be taken up.

Thanks for looking into adding this - much appreciated.
Comment 3 David Simonek 2010-02-08 08:28:23 UTC
Thanks for recommendations guys, but I have no plan to work on this due to lack of resources. Probably someone from community will have to look at it...