ActiveState Community

[Extension] Fast Open under Projects

Posted by stan on 2009-09-18 02:35
OS: All / Any

Integrates the Fast Open extension under the Projects pane.

What it does:

The built-in filter box under the Projects pane is out-of-date, slow and has issues with projects where Live Import is turned off. The new Fast Open extension in contrast is fast, works well with any type of project, and best of all it can index files from history.
This extension replaces the built-in filter box with an updated Fast Open box:

How to Configure?

The default key binding is set to Ctrl + `. If this combination is already in use on your Komodo instance, you will need to configure a new one under Preferences. Search for User Interface: Show/Hide Projects Pane & Focus Fast Open and assign a custom key binding.

How to Install?

First, make sure you have the Fast Open extension installed and enabled in Komodo. This should be the case for all 5.1+ installs.

  • Download the XPI file
  • Fire up Komodo 5
  • Select Tool -> Add-ons -> Extensions
  • Drag and drop the XPI file onto the Add-ons window
  • Wait and confirm the installation

You must restart Komodo for changes to take effect.

Limitations & Known Issues

There are a few glitches in this extension:

  • Full path to file trimmed: the Fast Open extension does not provide a way to customise the label for each result, thus having the full path on a separate line is not possible
  • UI freeze: for some bizarre & unknown reason, using the extension prevents menus from having their hover effect:

    (note menu item is not highlighted on mouse hover)
    Help here is appreciated.

Source code is available on Google Code.

Download

nathan | Tue, 2009-09-29 09:38

Looks nice! But doesn't seem to play nice with the latest nightly build :(

Komodo IDE, version 5.3.0, build 34327, platform win32-x86.
Built on Fri Sep 25 08:58:03 2009.

Error:

object
(
[QueryInterface] => function QueryInterface() {
[native code]
}
[message] => AttributeError: 'KoFastOpenSession' object has no attribute '_gatherers_cache'
[result] => 2147500037
[name] => gatherersAndCwds
[filename] => C:\Program Files\ActiveState Komodo IDE 5\lib\mozilla\extensions\fastopen@activestate.com\components\koFastOpen.py
[lineNumber] => 305
[columnNumber] => 0
[location] => object
(
[QueryInterface] => function QueryInterface() {
[native code]
}
[language] => 0
[languageName] => Python
[filename] => C:\Program Files\ActiveState Komodo IDE 5\lib\mozilla\extensions\fastopen@activestate.com\components\koFastOpen.py
[name] => gatherersAndCwds
[lineNumber] => 305
[sourceLine] => if self._gatherers_cache is None:
[caller] => object
(
[QueryInterface] => function QueryInterface() {
[native code]
}
[language] => 0
[languageName] => Python
[filename] => C:\Program Files\ActiveState Komodo IDE 5\lib\mozilla\extensions\fastopen@activestate.com\components\koFastOpen.py
[name] => findFiles
[lineNumber] => 329
[sourceLine] => gatherers, cwds, dirShortcuts = self.gatherersAndCwds
[caller] => object
(
)
)
)
[inner] => object
(
)
[data] => object
(
)
)