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 56189 - [41cat] Quick Search should use substring, not prefix (was: find single packages on Projects View)
Summary: [41cat] Quick Search should use substring, not prefix (was: find single packa...
Status: RESOLVED DUPLICATE of bug 30187
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: t_h
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-03-10 17:16 UTC by llturro
Modified: 2008-12-22 10:59 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 llturro 2005-03-10 17:16:09 UTC
[ BUILD # : Beta ]
[ JDK VERSION : 1.5.0_01 ]

Quick Search is a great utility, but in Projects View doesn't find packages unless you specify the full package path.

Possible solutions would be:

1) Using indexOf() instead of startsWith() ;D
2) Having wild cards ('*') or regular expressions
Comment 1 Jesse Glick 2005-03-11 23:49:08 UTC
I could have sworn I had already filed an RFE to use substring rather than
prefix, but I can't find it now.

Note that you can use TAB to complete the longest suffix of prefixes still
matching, which is helpful in this kind of situation: for

org.foo.core
org.foo.ui
org.foo.utils

press O, TAB, C, ENTER to select "org.foo.core".
Comment 2 Antonin Nebuzelsky 2008-02-07 16:06:23 UTC
Reassigning to new module owner Tomas Holy.
Comment 3 t_h 2008-10-20 13:03:37 UTC

*** This issue has been marked as a duplicate of 30187 ***