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

Summary: [41cat] Quick Search should use substring, not prefix (was: find single packages on Projects View)
Product: platform Reporter: llturro <llturro>
Component: ExplorerAssignee: t_h <t_h>
Status: RESOLVED DUPLICATE    
Severity: blocker Keywords: UI
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

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 ***