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.
The search filesystem dialog matches class files as well as source files. It would be nice to be able to specify searching only java files, notclass files or not binary files.
Set target milestone to TBD
It is possible to specify that only Java files are to be searched. But it is not user-friendly. By default (if the user does not specify otherwise), all text files should be searched.
In promo-D you will be able to use SharabilityQuery to differentiate sources from build products, which is a good start. Won't stop you from e.g. searching in versioned image files.
The search feature already uses SharabilityQuery - see bug #44310 ("Search should ignore nonsharable files"). The remaining issue is that fulltext search should skip binary files, but if fulltext is not used (e.g. searching by object type or name) all files should be examined.
Done in NetBeans 4.0. Modified file: utilities/src/org/netbeans/modules/search/types/FullTextType.java (1.42) Diff: http://utilities.netbeans.org/source/browse/utilities/src/org/netbeans/modules/search/types/FullTextType.java.diff?r1=1.41&r2=1.42&f=u
A deficiency has been later found in the implementation (see bug #52256 - "Find does not work on XSL nor XSD files in 4.0 RC2") and fixed in revision 1.46 of the same file.