OpenIt Plugin Work-Around: Eliminate Indexing Upon First Run
Submitted by Wednesday, 4 June, 2008 - 20:59
on
I used to use the OpenIt plugin all the time. However, at some point, it started to do it's indexing not when jEdit started, but when the OpenIt command was first invoked. This made opening that first file take a few minutes if you had lots to index. So I quit using it.
However, my friend Newton found the solution.
To make it index automatically upon startup -- so that the first time you run it you don't have to wait -- put a BSH file in your jEdit startup directory with the following line in it...
org.etheridge.openit.SourcePathManager.getInstance();
(I named mine "openItStart.bsh")
Link to the Plugin info...
http://plugins.jedit.org/plugins/?OpenIt
This plug-in is at version 1.5 now. And it is currently working on my machine in jEdit v 4.3pre9.
However, my friend Newton found the solution.
To make it index automatically upon startup -- so that the first time you run it you don't have to wait -- put a BSH file in your jEdit startup directory with the following line in it...
org.etheridge.openit.SourcePathManager.getInstance();
(I named mine "openItStart.bsh")
Link to the Plugin info...
http://plugins.jedit.org/plugins/?OpenIt
This plug-in is at version 1.5 now. And it is currently working on my machine in jEdit v 4.3pre9.