QuickOpen Documentation

Author: Brian Schlining (bschlining@gmail.com)

About QuickOpen

QuickOpen is a plugin designed to quickly open any file in the current directory by just typing in a few characters of the filename you want to open. It's similar to CommandT for Vim and TextMate's quick open ability. Unlike the FastOpen and OpenIt jEdit plugins, it does not use jEdit's ProjectViewer plugin or require you to configure a source path; instead it allows quick opening of the files, including those in the subdirectories, in the currently selected directory in jEdit's file browser.

Using QuickOpen

To use QuickOpen, select a directory in jEdit's File Browser. Then run QuickOpen (Plugins->QuickOpen->QuickOpen). The QuickOpen dialog will then appear and you can quickly filter the list of files by typing in a few characters. Select the file you wish to open from the list and either press [ENTER] or double click on it to open the file.

Configuration

Configure a Shortcut

To use QuickOpen, it's highly recommended that you bind the QuickOpen action to a shortcut. To do this:
  1. Open jEdit's preferences (or Global Options) window
  2. Select Shortcuts
  3. In the Edit Shortcuts combobox at the top of the window, select Plugin: QuickOpen
  4. Set your prefered shortcut, such as [cmd]+T on Macs or [ctrl]+T on Windows or Linux.

Configuring Options

Under Plugins->Plugin Options ... -> QuickOpen you can configure the following settings:

More Details

Directory Selection

It's important to note that jEdit's File Browser has two panes: the top and the bottom one. Only the bottom pane sends out events to QuickOpen. If it appears that QuickOpen has not selected the correct directory, then single click any file or directory in the lower pane and QuickOpen will update to the current path (ie. the path as shown in the top pane)

Name Matching

After using QuickOpen you will notice that it does not exactly match names with the characters that you typed. QuickOpen matches names as follows:
  1. QuickOpen uses case-insensitive search.
  2. If the Match Initial Character option is set. Then the first letter in your search matches against the first letter in the files names. (e.g. if you type 'a' then only files starting with the letter 'a' or 'A' are shown)
  3. The filenames that contain the other letters you type, in the same order, are also listed. For example, if you type 'app', possible matches include 'App.java' but also 'APersistenceImpl.java' because they both start with 'a' and also contain two 'p's.

QuickOpen and Views

Each view gets it's own unique QuickOpen. If you have two or more views open, QuickOpen treats each view separatly, like different projects.