User : todd whiteman

Title User Language Tags Description Date
Komodo JavaScript Macro - wrap the current word under the cursor Todd Whiteman python

A Komodo JavaScript macro that can be used to wrap the current word under the cursor position (or current selection) with arbitrary text.

For example, if I'm editing a HTML file and have the selected text "This is my heading", I can quickly use this macro to wrap this text into "<h1>This is my heading</h1>".

February 2, 2011
Komodo JS Macro - use vertical editor tabs positioned to the right Todd Whiteman python

A Komodo JavaScript macro that can be used to position the editor tabs on the right side and shown vertically.

Additional layouts (left, right, up, down, vertical, horizontal) can be made with different combinations, see here for the Mozilla tabbox positioning documentation: https://developer.mozilla.org/en/XUL_Tutorial/Tabboxes#Position_of_the_tabs

September 9, 2010
Komodo JS Macro - insert a relative path from the current editor file Todd Whiteman python

A Komodo JavaScript macro that can be used to generate a relative path from the current editor file location, which works great for HTML when linking to relative style sheets, images, etc...

Upon execution of this macro, you will be prompted to browse and select the target file, then upon selecting the target path, the relative path location will be inserted into the editor at the current position.

To best use this macro - assign a custom key-binding to the macro and then trigger the macro at will.

July 14, 2010
Komodo JS Macro - force the focus back onto the editor after an alt-tab Todd Whiteman python

A Komodo JavaScript macro that can be used to force the focus back to the Komodo editor after switching between windows (i.e. after using Alt-Tab).

This macro only applies to Windows and Mac OS - where there is an application activated notification event available.

To use this macro - set the macro to trigger on the "On startup" event.

March 29, 2010
Komodo JS Macro - increase the number of code completion items shown Todd Whiteman python

A Komodo JavaScript macro that can be used to set the number of code completion items shown in the list.

If you set the macro to Trigger on the Komodo "After file open" event - then this setting will be always be applied to every file code completion list.

March 29, 2010
Komodo JS Macro - show svn blame for the current editor line Todd Whiteman python

A Komodo JavaScript macro that can show the SCC repository information for who last changed the current line in the Komodo editor - see the screenshot below.

svn blame image

January 19, 2010
Komodo JS Macro - show custom code completions Todd Whiteman python

A Komodo JavaScript macro that can be used to display a custom completion pop-up.

Completions image

January 18, 2010
Komodo JS Macro - select the current word under the cursor Todd Whiteman python

A Komodo JavaScript macro that can be used to select the current word under the cursor position.

Python version here: Recipe 577006.

January 14, 2010
Komodo Python Macro - select the current word under the cursor Todd Whiteman python

A Komodo Python macro that can be used to select the current word under the cursor position.

JavaScript version here: Recipe 577007.

January 14, 2010