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 88173

Summary: Search hits include unsharable files
Product: utilities Reporter: Jesse Glick <jglick>
Component: SearchAssignee: Marian Petras <mpetras>
Status: RESOLVED FIXED    
Severity: blocker Keywords: USABILITY
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2006-10-28 01:04:13 UTC
The usefulness of the search feature in the IDE is limited by the fact that at
half the search hits are for build products, not source files. So when I go
looking for something I need to update I have to be very careful to only open
source files, never build files. The Search dialog should at least have an
option to skip over unsharable (~ unversioned) files.
Comment 1 Jesse Glick 2006-10-30 17:24:25 UTC
While annoying, does not prevent use of the search feature.
Comment 2 Jesse Glick 2007-01-24 12:56:27 UTC
Alternate UI would to grey out labels of nodes representing unversioned files.
Comment 3 Marian Petras 2007-09-12 16:24:44 UTC
I will use the approach of greying out labels of nodes representing unversioned files.
Comment 4 Marian Petras 2007-09-12 17:10:15 UTC
I just found that I fixed this together with implementation of search&replace over multiple files (issue #18237). The
file in which graying of unsharable files is enabled is utilities/src/org/netbeans/modules/search/NodeRenderer.java.

The first milestone with this bug fixed is NetBeans 6.0 M5.