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 109396 - wildcards not working as expected in go to file dialog
Summary: wildcards not working as expected in go to file dialog
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker with 2 votes (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
: 145667 147001 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-11 16:30 UTC by jamespb
Modified: 2009-04-03 17:47 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamespb 2007-07-11 16:30:27 UTC
alt-shift-O to bring up Go to file dialog box for ruby project.

enter 'suite' and the files I would expect are there.
suite? says no results - this seems wrong
*suite gets no results - also seems wrong
*suite*, again no results
Comment 1 jamespb 2007-07-11 16:31:42 UTC
Product Version: NetBeans Ruby IDE 070710 Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows Vista
version 6.0 running on x86; Cp1252; en_US (nbrubyide) Userdir: C:\Users\James\AppData\Roaming\.nbrubyide\dev
Comment 2 Petr Jiricka 2007-10-15 18:30:14 UTC
Go To File is maintained by the editor team - reassigning. Still reproducible.
Comment 3 Torbjorn Norbye 2007-10-15 18:48:57 UTC
I thought the category was utilities/jumpto ?
Comment 4 alastor8472 2007-11-28 07:28:13 UTC
This issue is still occurs in the latest RC2 and with large projects (in my case a Maven2 project consisting of JSP,
Java, JS and properties) this is a very annoying bug in production environments.
Comment 5 mcrocker 2007-12-14 21:18:09 UTC
this issue is still occuring in netbeans 6.0 and 6.0 patch1. 

Comment 6 William Leonard 2007-12-14 23:10:27 UTC
Yes, the issue still occurs for me as well. Ideally the result list would contain the complete list of files when the
dialog is opened and then thin based on the filter that's applied. This is how TextMate works. /Brian
Comment 7 Michel Graciano 2007-12-14 23:21:11 UTC
Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.22-14-generic running on i386; UTF-8; pt_BR (nb)
Userdir: /home/michel/.netbeans/6.0

Me too. I think need to be updated the issue OS and Version properties.
Comment 8 misterm 2007-12-15 00:30:57 UTC
This is quite annoying and occurs with any project type, as far as I know. I am using JDK 1.6U3 and Windows XP SP 4.
Comment 9 Petr Hrebejk 2007-12-19 10:42:15 UTC
As so many people say that this is reproducible I'm scared to close it as works for me. However I've created ruby app
and also rails app and neither of them contains anything called suite. 

So I've tested on README and rake file and it works fine (on Linux though).

Please provide some steps how to reproduce it or I'm going to close it as works for me. Also please try to play with the
 "Show hidden files" checkbox just in case the ruby project does something wired with the whatever-suite-whatever file.
And please do not expect I know anything about the Japanese language.

For Brian: Your enhancement to make it like text mate will not be implemented - at least not by me. I believe it works
for small apps like those one writes in ruby. It would be impossible to open the dialog when you open an real app e.g.
something large in Java. It would then contain thousands of files and you would wait too long for it to open (not to
speak about the memory consumption).
Comment 10 Michel Graciano 2007-12-19 11:04:45 UTC
For me, it works just for some files! I am using just Java and NB modules projects.
Just open Go To File for a simple Java project and try to find 'proj*.prop' file. If I try to find 'proj' several
'project.properties' (I have some project opened), but using wildcards, no files are found.
Another thing is, I enter 'proj' and several projects.properties and projects.xml is shown, but if I add more chacarters
to find 'proj*.xml', the entry <No Files Found> is shown, and if I wait a moment, the search finish and files are found.
I think it should show 'Searching...' or something else.

Cheers.
Comment 11 Petr Hrebejk 2007-12-19 12:58:12 UTC
I see. I was playig with it for a while and you are right. It behaves strangely when adding removing wildcards. No
matter, which file yo are searching for. Will look into it some time.
Comment 12 jamespb 2007-12-19 18:20:14 UTC
Just a small clarification - there's nothing special about the filename suite* - I just had a project with some files
that started with that string.  There aren't any files starting with suite* in a vanilla Rails project.

On Windows, I'm getting different results than when I first reported this bug (Looking for 'Rakefile' - that should be
in most Rails projects):

These work:
Rake*
*Rake*
Rake

These fail:
Rake? <No files found>
*Rake - two files appear, both ending in .rake, but Rakefile itself isn't in the list
Rake*i - <No files found>
Comment 13 jamespb 2007-12-19 18:21:37 UTC
That last comment was for:

Product Version: NetBeans Ruby IDE 20071215105424
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nbrubyide)
Userdir: C:\Users\James\AppData\Roaming\.nbrubyide\dev
Comment 14 jamespb 2008-02-16 03:26:32 UTC
FYI, still a problem in 

Product Version: NetBeans IDE Dev (Build 200802151203)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/james/.netbeans/dev
Comment 15 alastor8472 2008-03-01 08:19:07 UTC
Is it possible to get this fixed in the 6.1 which may code freeze at the end of this month?

Having this fixed would greatly help me promote NetBeans at work, where this feature is really necessary when
maintaining a project of ~1200+ files (XML, properties, Java, etc.).
Comment 16 jamespb 2008-07-06 18:24:28 UTC
This is still a problem in build

changeset:   87895:3c470570b7b4
Comment 17 Jiri Vagner 2008-09-24 09:12:40 UTC
*** Issue 147001 has been marked as a duplicate of this issue. ***
Comment 18 Jan Becicka 2008-09-30 15:06:23 UTC
*** Issue 145667 has been marked as a duplicate of this issue. ***
Comment 19 Andrey Yamkovoy 2009-04-03 17:47:36 UTC
Fixed by the fix for issue 161483.