Searchable list of commands for invocation?

Posted by westonruter on 2012-03-11 23:58

I was really happy to learn about the "Fast Open: Invoke Tool" option (see attachment) which opens a filterable list of all the items in the toolbox. However, Is there also a Fast Open UI for invoking an arbitrary command as appears on the keybindings list (see attachment)? I could of course create a macro to wrap each command like ko.commands.doCommand('cmd_{name}'); so that it can appear in the Invoke Tool UI, but it seems like a waste to have to create a macro for each and every command (see list) that I would want to access via a Fast Open UI.

AttachmentSize
fast open invoke tool.png56.78 KB
commands list.png19.01 KB

toddw
ActiveState Staff
Mon, 2012-03-12 16:31

It would be best to create a commands "gatherer" (something that can feed results into the invoke tool handler). You might want to put in an enhancement request for this feature:
http://bugs.activestate.com/enter_bug.cgi?product=Komodo

If you'd like to hack on this yourself, you'll need to modify the "fastopen" add-on, i.e. this part of the code that loads the toolbox hits:
http://grok.openkomodo.com/source/xref/openkomodo/trunk/src/modules/fast...

Cheers,
Todd

westonruter | Mon, 2012-03-12 21:00

toddw
ActiveState Staff
Fri, 2012-03-16 14:22

Nathan has actually posted a Komodo add-on that provides this feature:
http://community.activestate.com/node/8087

Cheers,
Todd

westonruter | Fri, 2012-03-16 15:51

This is great! However, upon installing the extension there does not seem to be a way to invoke it. I've submitted an issue on the GitHub repo: https://github.com/Naatan/Komodo-Commando/issues/1