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.
Summary: | Add option to the find dialog to optionally "search in tests" | ||
---|---|---|---|
Product: | utilities | Reporter: | markiewb |
Component: | Search | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | NEW --- | ||
Severity: | normal | CC: | aldobrucale, markiewb |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
See Also: | http://netbeans.org/bugzilla/show_bug.cgi?id=200020 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Dialog example with new checkbox |
I'm afraid that this use-case is quite rare and adding another checkbox to the UI would make the dialog quite complicated. Did you consider adding file path pattern "\/src\/test\/" (or something similar that corresponds to your needs) to the Ignore List? *** Bug 222484 has been marked as a duplicate of this bug. *** FYI: * A workaround (when #200020 is implemented) would be that the user can remove the test-folder node from the search results. |
Created attachment 123754 [details] Dialog example with new checkbox The find dialog currently allows to * search in archives * search in generated sources But for some reasons i want also to exclude the search to look in the test-directory while searching the project. Add a checkbox named "Search In Tests", which is checked by default (to keep the previous behaviour). When the checkbox is unchecked then folders which are marked as Unit-Tests/"Unit Test Packages" will be excluded for searching. See screenshot for dialog sample. --- Note: A known workaround is to multi-select the non-test directories and then invoke the find action, but the requested feature simplifies the whole procedure. -------- Product Version: NetBeans IDE 7.2 (Build 201207171143)