Open File Fast - plugin detail

Allows for quick finding and opening project files by typing few characters of filename (like in Textmate).

NetBeans Plugin - Open File Fast
Plugin owner: sickill
Website: http://sickill.net
Added: 2009-02-28
License: MIT
Category: Utilities
Downloaded: 6,800 times
Rating:
 4.29, by 3 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.03 MB   Last Update: 2010-06-24

What's new in this version

Works with NB 6.9

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.03 MB   Last Update: 2010-06-24

What's new in this version

Works with NB 6.9

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.03 MB   Last Update: 2010-06-24

What's new in this version

Works with NB 6.9

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.03 MB   Last Update: 2010-06-24

What's new in this version

Works with NB 6.9

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

IIt's like standard Netbeans' Go-To-File dialog but on steroids!

Open it from "Navigate - Open File Fast" menu (or better assign it to some keyboard shortcut in settings, it's in Tools/Options/Keymap/Project/Open File Fast) and type in some characters from desired filename.

Here are the key features of Open File Fast:
* quick finding and opening any file from main project
* two matching modes:
- smart (like in Textmate, matching filenames must contain all typed characters, they can be separated by other characters)
- exact (like Netbeans' Go-To-File, matching filenames must contain exact phrase)
* matching from start of filename or anywhere in filename
* support for "*" wildcard in exact mode
* changing minimum entered pattern length needed for searching (default: 3)
* changing delay (time from last keystroke) after which searching starts (default: 300ms)
* optional cleaning of search input field when O-F-F window opens
* hiding files you don't work on (matching specified regular expresions) from results
* moving less important files (matching specified regular expresions) to the bottom of results list
* results sorted by:
- file popularity (files opened frequently at the top of list)
- match accuracy (distance between characters from search phrase in matched filenames)
* opening multiple files at once (selected with ctrl/shift + mouse)

Open File Fast can be set up to your own preferences and to match your own workflow. You can configure it under Open File Fast tab in Netbeans' Miscellaneous options.

[ You have to be logged in to be able to comment. ]

User Comments

  

Seemingly incompatible with Netbeans 7.4 beta and the "Select in Projects" automatic selection.

Hi.

Just upgraded to 7.4 Beta and installed O.F.F. O.F.F. operates correctly, but it seems to interfere with the "Select in Projects" functionality, so that as you select different open files in the editor pane, the Projects tree doesn't reposition itself to the active file.

Very annoying for my work flow. So much so, that this plugin is being uninstalled.

Deactivating this plugin and restarting the IDE (and no other changed) and the "Select in Project" functionality is restored.

It is a shame that this plugin doesn't get any more support. I suspect it is simply too old now and as newer versions of Netbeans are released, this plugin will become more and more unstable.
Posted by RQuadling on Jul 23, 2013
  

Minor issue

I have a Macbook Pro with another monitor hooked up to it. I use Netbeans on the attached monitor, and when I use the shortcut for Open File Fast, the search window keeps popping up on my Macbook Pro screen, which is barely in my peripheral vision, so I keep missing it.

Please fix it so that it pops up on the monitor that contains Netbeans.
Posted by borlak on Mar 07, 2013
  

Works with NB 7.2

- Download from this page
- In NetBeans, go to Tools ? Plugins ? Downloaded ? Add Plugins, select the downloaded file and click Install (http://wiki.netbeans.org/FaqPluginInstall)
- Restart NetBeans (although it is not needed to run the plug-in, I found that I couldn’t set key short cut for Open File Fast)
- Now for the short cut. Go to Tools ? Options ? Keymap, search for “open file fast” ? Assign short cut

courtesy of: http://blog.anorgan.com/2012/10/14/quick-file-opening-in-netbeans/
Posted by mrtwice99 on Jan 25, 2013
  

Works with NB 7.1

It can be confirmed, that the plugin (1277383977889_off-netbeans-1.0.1.nbm) still works with NetBeans IDE 7.1 (Build 201112071828).

But i have not figured out the real advantage over the standard-"Go to file"-dialog...
Posted by markiewb on Feb 25, 2012
  

Thanks

Ah, thanks. I found the plugin settings under Tools -> Options -> Miscellaneous -> Open File Fast tab. Should've looked there first.

I discovered that the keyboard binding issue is only an issue for ALT+O, for some reason. I changed it to CTRL+D and it works.
Posted by wulftone on Nov 14, 2011
  

Minimal length

wulftone: you can change minimal length in plugin settings.
Posted by sickill on Nov 14, 2011
  

Won't find files with less than three letters

If I have some files that have less than three letters in their name, this plugin won't find them. I realize this is the intended behavior, but it's kind of limiting.
Posted by wulftone on Nov 13, 2011
  

doesn't find .filename files

It would be great if it could find files that begin with a .
Posted by wulftone on Nov 13, 2011
  

Won't bind to keyboard shortcut in netbeans 7.0.1

Love this, but I can't get it to bind to a keyboard shortcut. I'm using Netbeans 7.0.1
Posted by wulftone on Nov 13, 2011
  

reply to unq

Hi unq,

What is the version of Netbeans, version of plugin and your operating system?
Posted by sickill on Apr 02, 2010
  

not working

it writes indexing project files and it does not ending

A java.lang.StringIndexOutOfBoundsException exception has occurred.
However, the system should continue working without further problems.
Click Show Details for the stack trace.

java.lang.StringIndexOutOfBoundsException: String index out of range: -12
at java.lang.String.substring(String.java:1937)
at net.sickill.off.common.ProjectFile.getDirectory(ProjectFile.java:33)
at net.sickill.off.common.ProjectFile.getPathInProject(ProjectFile.java:37)
at net.sickill.off.common.OffListModel.addFile(OffListModel.java:62)
at net.sickill.off.netbeans.NetbeansProject$ImportWorker.collectFiles(NetbeansProject.java:153)
at net.sickill.off.netbeans.NetbeansProject$ImportWorker.run(NetbeansProject.java:135)
[catch] at java.lang.Thread.run(Thread.java:619)
Posted by unq on Apr 02, 2010
  

Rockin' Plugin

Friggin' finally! This is the biggest flaw in NB that my TextMate coworkers tease me about. No longer! It's like spotlight has finally come to NB.

I'm using NB nightly Ruby builds and it seems to work fine out of the box.

It would be nice to be able to search multiple project at once though. We have two Rails projects that share the same models and searching both at the same time would be nice.
Posted by nadakidd on Jul 08, 2009
  

It worked

Hi,

I set my project as 'Main project" and now it works perfectly.

Thank you.

Would it be possible for you to do a something similar for functions and methods? The "Go to symbol" is buggy (wildcards never work with PHP) and is not user-friendly.

Best regards,
Fabio Chelly
Posted by fabiochelly on May 12, 2009
  

Works well for me

OFF works well for me with Netbeans 6.5.1 and off-netbeans-0.9.2.nbm

Sometimes the OFF dialog shows no results (red). This is because I have recently switches program groups or recently opened Netbeans and OFF has not indexed the files in my main project. As soon as I open the OFF dialog and start typing, OFF indexes the files in the background... while it searches, the display is red. Once the indexing is complete, the OFF results show the correct files.

If the display remains red, perhaps you try the following steps:
1) Make sure you have set your desired project as the main project in netbeans
2) OFF only starts matching after you type enough characters. The minimum is specified in the configuration: Tools->Options->Misc->Open File Fast... Minimum pattern length
3) If you have too many files in your main project, it could take a long time for OFF to index them and will display no results (red) until it finishes... it will silently do it in the background the first time you open the OFF dialog and type.
4) Make sure you are searching for a file that exists and is not being ignored in the settings. (Tools->Options->Misc->Open File Fast... Hide files matching following regexps)

A very useful plugin even with these issues.
Posted by jrafanie on May 07, 2009
  

still not working

Hi! I installed the plugin, everything is there as described however like in fabiochelly's case - it's not working. When I type any part of any filename in my project (and yes it is set as main project) it is always red.
Posted by poisson on Apr 30, 2009
  

main project

@fabiochelly: did you set the project you are working on as "Main Project" in Netbeans?
Posted by sickill on Apr 28, 2009
  

It doesn't work on my netbeans

Hi,

I installed it but it never finds any file. the list is always empty and the input text is always displayed in red.

I'm using Netbeans PHP 6.5.1 on Windows XP Pro.
Posted by fabiochelly on Apr 28, 2009
  

something missing..

I tried to install, but something seems to be missing:

Missing required modules for Plugin Open File Fast:
Swing Layout Extensions integration [module org.jdesktop.layout/1 > 1.6.1] module org.netbeans.libs.junit4 > 1.3.1 Editor Library [module org.netbeans.modules.editor.lib/1 > 1.29.1.8.2] Editor Library 2 [module org.netbeans.modules.editor.lib2/1 > 1.8.1.2] Editor [module org.netbeans.modules.editor/3 > 1.41.1.3.8.2] Options Dialog and SPI [module org.netbeans.modules.options.api/1 > 1.10.1] Project API [module org.netbeans.modules.projectapi/1 > 1.19.1] Project UI API [module org.netbeans.modules.projectuiapi/1 > 1.31.1.6] UI Utilities API [module org.openide.awt > 7.3.1.1] Dialogs API [module org.openide.dialogs > 7.8.1] File System API [module org.openide.filesystems > 7.13.1.1.1] Datasystems API [module org.openide.loaders > 7.2.1] Module System API [module org.openide.modules > 7.7.1] Nodes API [module org.openide.nodes > 7.7.1.1] Text API [module org.openide.text > 6.21.1] Utilities API [module org.openide.util > 7.18.1.1] Window System API [module org.openide.windows > 6.24.1]
Posted by antoc on Mar 05, 2009
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo