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.
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:
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
You can select results in various ways:
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.
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.
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".
You can alter some of Commando's behaviour under Preferences.
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.
The bookmarks scope allows you to easily navigate to bookmarks within the current file.
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.
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.
The file scope allows for some advanced Search functionality;
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.
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.
The tools scope gives easy access to your toolbox.
The Tools & Commands scope combined the the Tools & Commands scopes.
Invoking one of these tools will show you all their possible arguments with useful completions where relevant. For example executing
docker attach will show you a list of running containers to choose from.
You can use the Shell scope to execute any terminal command you like, but only certain ones are auto-completed by Komodo.
When executing commands via the shell scope you can append the following flags in order to control where and how the commands are executed:
:ok- Open in the Komodo command output widget
:ot- Open in a new terminal window
:oi- Insert the result into the current editor buffer
:on- Don't return the results at all, just run the command
:os- Return the result in the shell output HUD dialog (this is the default)
The Packages scope allows you to manage (install, uninstall, update, ..) your installed Packages. A Package is something that customizes the way you work with Komodo, for example an Addon, Userscript, Skin, Color Scheme are all packages.
The Documentation browser allows you to reference information about Komodo's supported languages.
© 2017 ActiveState Software Inc. All rights reserved. ActiveState®,
Komodo®, ActivePerl®, ActivePython®, and ActiveTcl® are registered
trademarks of ActiveState.
All other marks are property of their respective owners.