Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 178610 - Need incremental result display for Go to File
Need incremental result display for Go to File
Product: utilities
Classification: Unclassified
Component: Jump To
PC Linux
: P3 (vote)
: 8.0.1
Assigned To: Tomas Zezula
Depends on:
  Show dependency treegraph
Reported: 2009-12-14 09:38 UTC by Jesse Glick
Modified: 2014-06-17 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-12-14 09:38:03 UTC
Say I have twenty projects open, some small, some quite large. With one of the small projects selected, I open the Go to File dialog. The "Prefer Current Project" checkbox is checked. I type the name of a file which is in fact in this (small) project. A couple of minutes and 2% of my battery power later, "Searching..." is replaced by that one search hit. Evidently all of the open projects were searched, and then the result was displayed.

So what was the point of checking "Prefer Current Project"? What I expected was for the current project to be searched, the expected hit to be displayed in a second or two, and "Searching for more..." to be displayed in case I really was looking for a file with a similar name in another project and was willing to wait for it.

Awkward workaround is not to use GtF at all, but select the project node, Ctrl-F, and put the filename into the second search field.
Comment 1 Victor Vasilyev 2010-05-13 14:44:33 UTC
I think, it is the same issue as for "Go to Type" described in the Bug 121389.
Seems we need use "Scope" options in all dialogs providing search and navigation to get additional info from a user about expected search results. 
Knowledge about a desired scope of searching will let us optimize these processes of searching. 

Unfortunately, resolving of this issue should be readdressed to the next release.
Comment 2 markiewb 2013-05-01 20:08:39 UTC
Obsolete target milestone. Changed from 7.0 to TBD
Comment 3 Tomas Zezula 2014-06-17 15:45:10 UTC
Fixed jet-main

Fixed as explained, when files from index are known they are displayed.
The file list is then updated by files found by file system crawling.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo