Screencast: High-speed coding with Custom Live Templates. This functionality is available in IntelliJ Idea, PyCharm, WebStorm, PhpStorm, RubyMine, AppCode.
Full blog post at http://blog.jetbrains.com/webide/2012/10/high-speed-coding-with-custom-live-templates/