Action Snippets and Selected Text?

I come from a FlashDevelop background and I was wondering is it possible to select some text e.g.

anInteger

Select the text and press a keyboard shortcut so it becomes:

trace("[anInteger]:",anInteger);

Similar to ActionSnippets in FlashDevelop, can this also be achieved with Live Templates?

Thanks in advance

:)

Please sign in to leave a comment.