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 193293

Summary: Easier negative filters in task list
Product: platform Reporter: catweasle <catweasle>
Component: Action ItemsAssignee: Jan Peska <JPESKA>
Status: NEW ---    
Severity: normal CC: iainhallam
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description catweasle 2010-12-12 13:02:48 UTC
Task list can show a lot of false positives.
I get a lot of compiler errors in there (in my case: 2 inherited methods using generics name clash , while my project compiles perfectly)
To be really usable you need an easy way to remove false positives (or things you are not interested in
Currently filters are targeted at showing what you are interested in.
The only way filter i can think of is Match "does not contain" string.
(removes 410 of 430 errors, so it does help)
I would expect to be able to say
not (contains(string) and type(error))
Suggestions:
1/ Add a radio button show/do not show
2/ I realize this comes close to requesting multirule filters
3/ This comes closes to configuring code hints (only this is a compiler error, not a hint). Still a right click on a line to exclude a particular error/warning would be handy.
Comment 1 iainhallam 2012-05-04 02:38:19 UTC
I've just come across this. I want to remove all tasks that belong to a contributed section of a project, so wanted to set Location to "does not begin with", but I can only have "does not contain".

Three possible solutions present themselves:

1) Add "does not" versions of all the positive searches (unwieldy)
2) Make the text filter a regexp (frightening)
3) Add a negation checkbox to each rule (probably the best UI)