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 35256 - Specifying files to search in the Find in Files dialog
Summary: Specifying files to search in the Find in Files dialog
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker with 3 votes (vote)
Assignee: issues@utilities
URL:
Keywords: UI
: 95062 (view as bug list)
Depends on:
Blocks: 35255
  Show dependency tree
 
Reported: 2003-08-04 13:37 UTC by Petr Jiricka
Modified: 2007-06-07 12:53 UTC (History)
0 users

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 Petr Jiricka 2003-08-04 13:37:07 UTC
Currently, the files in which the IDE searches,
are specified in the Find in Files dialog in the
'Object Name' and 'Type' tabs. This is not a good
solution for several reasons.

First, not all object types are intuitive and
correspond to user expectations. For example, the
'HTML objects (executable)' or 'JSP-based Java
Servlet objects' are not intuitive. Furthermore,
with the changes in the OpenAPIs/Projects, it is
not even necessary to provide a DataLoader (object
type in the user terms) in order to give it
functionality. So, the object type is not a
concept that should be exposed to the user - it is
only an implementation detail. [This is one of the
places where the architecture "shows through".]

Moreover, the dialog does not easily allow
searching in e.g. all *.dat files.

Next, specifying the search criteria requires too
much clicking. It should be possible to enter the
most widely used criteria in just one tab.

So, I would suggest that the object name and type
is specified in one text field using the
star/question mark syntax, e.g. *.java. This would
make the use more intuitive, and also save user
some tedious work.
Comment 1 Marian Petras 2005-05-13 15:57:30 UTC
I agree - such a change would be an improvement.
Comment 2 Jesse Glick 2005-05-14 22:21:22 UTC
Would be better. A note: the sentence "Furthermore, with the changes in the
OpenAPIs/Projects, it is not even necessary to provide a DataLoader (object type
in the user terms) in order to give it functionality." is obsolete - DataLoader
is still needed.
Comment 3 Marian Petras 2007-02-12 12:18:02 UTC
*** Issue 95062 has been marked as a duplicate of this issue. ***
Comment 4 Marian Petras 2007-06-06 13:49:46 UTC
The Find dialogue has been redesigned (see issue #35255 for details) and file
names are now specified the way you describe.

The first NetBeans milestone with redesigned Find dialogue is Milestone 10.
Comment 5 Petr Jiricka 2007-06-07 12:53:49 UTC
Great to see this, thanks many times! I love the new dialog. There are only a
couple minor improvements that can be made, which I filed as issue 103791
(enhancement) and issue 106001 (bug).

Great job, again.