Open File Fast - plugin detailAllows for quick finding and opening project files by typing few characters of filename (like in Textmate).
[ You have to be logged in to be able to comment. ] User CommentsWay better than the built-in go to file
For those questioning the need of this plugin because there's a built-in "go to file" function already in netbeans, need to know that this is way faster.
The built-in functionality searches the file system every time you use it, if you have a big project and are not using an SSD it becomes unusable (imagine waiting 10 seconds just to open a file), this plug-in on the other hand indexes your files so that every lookup is instant, no matter how big your project is. You can select what project you want to search in, which the built-in function lacks and becomes cumbersome when working with multiple project (yes, there's a "prefer current project" but it still searches all the other projects and shows me a bunch of unrelated files from those projects). I love that it "learns" the files I commonly open, so much so that now I'm only typing one letter and getting the file that I want. This is plug-in is a must-have. I'm currently happily using it with netbeans 8.1
Posted by jalgaba on Jan 27, 2016
https://github.com/sickill/off-plugin
https://github.com/sickill/off-plugin
Posted by geertjan on Mar 28, 2015
In NB 8+ have a native go to file
just press alt+shift+o in Windows SO
Posted by apssouza on Dec 01, 2014
Keymap is missing
Works with NB 8.0 and Dev version, but I can't set a shortcut on it. There is no Open File Fast ption inside keymaps. :(
I would really like to use this instead of go to file but without having a shortcut, I will not. Please fix it. Update: After updating to nightly 20140804, I can create the shortcut again. But I have some improvements for this plugin, is it on github?
Posted by ChrisLE on Jul 29, 2014
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
|