Commando (Go To Anything)

Commando is a primarily keyboard driven panel that can be accessed by pressing Ctrl+Shift+O on Windows and Linux or Cmd+Shift+O on Mac. You can also access it from your toolbar by clicking the "Go To Anything" search field. It allows you to easily access various parts of Komodo and your development workflow without disrupting your thought process.

Scopes

A "scope" defines what you are searching for. By default you search for items in all available scopes. Note that some scopes (such as the Shell scope) are excluded from this "Search Everything" behaviour due to their results being too disruptive when used out of context.

You can select a scope in various ways:

  1. Select the relevant scope from the results when invoking Commando
  2. Click on the scope icon to the left of your search field
  3. Define a shortcut for your scope in your key bindings, then use this shortcut to open Commando with your scope already selected.

Searching

To search, simply invoke Commando and start typing your search query. Scopes are designed to handle your query intelligently, in most cases you can simply type partial matches for your search query, which do not even need to be in order. For example I could search for filename .txt mypath and it would match /path/to/mypath/folder/filename_1.txt.

Selecting Results

You can select results in various ways:

  1. Select them by using your keyboard arrow keys and pressing enter
    • You can select multiple results by holding shift
  2. Press the associated ALT+Number shortcut
  3. Double click on them with your mouse

Expanding Results

You can also "expand" some results. Expanding a result gives you the option to perform contextual actions on them, such as marking them as a Favourite. To do this simply highlight a result and press the right arrow key.

Entering Subscopes

A subscope is a scope within a scope. For example when searching for files you can select a folder to view its contents. The folder is a subscope. To enter a subscope you simply select the result.

Once in a subscope you can navigate back to the previous scope or subscope by pressing Backspace or Escape.

Clearing the Cache

Some of the Commando scope keep a cache of results. Although these are designed to update when necessary it is possible that a cache becomes out of sync. You can clear the cache manually by pressing the icon to the left of the search field and selecting "Clear Cache".

Preferences

You can alter some of Commando's behaviour under Preferences.

Everything Scope

The "Everything" scope allows you to, as the name implies, search for everything. Ironically it does exclude one scope; the Shell scope. This is done because the shell scope results are very disruptive when accessed out of context.

Bookmarks Scope

The bookmarks scope allows you to easily navigate to bookmarks within the current file.

Commands Scope

The commands scope allows you to access all of Komodo's registered commands. Basically anything that you can add a keybinding for you can access from this scope.

Files Scope

The files scope allows you to search for files within your currently selected project or working directory. Commando uses the directory defined in your Project preferences or otherwise falls back to the directory selected in your Places pane.

Searching

The file scope allows for some advanced Search functionality;

Open Files Scope

As the name implies this scope will allow you to quickly access your opened files. It's a convenient alternative to the Open Files pane and your editor tabs.

Sections Scope

The sections scope allows you to quickly access your file symbols. It allows you to navigate to classes, functions within files or nodes within XML/HTML files.

Tools

The tools scope gives easy access to your toolbox.

Tools & Commands

The Tools & Commands scope combined the the Tools & Commands scopes.