How to define custom file-type-based contexts for Live Templates?
I'm making a lot of use of the Live Template feature that comes with PHPStorm/RubyMine/asf. – however, is it possible to define additional contexts based on file types? E.g. custom contexts for all those template languages (identified/registered by their file extensions) or for common configuration file types. Having dozens of entries in the quick-choser-overlay-dialogs is pretty distracting and cumbersome to navigate through.
Thanks for yor great products.
Please sign in to leave a comment.
There is no way to do this without coding (writing your own plugin). See http://devnet.jetbrains.com/message/5299171#5299171
Please also vote for http://youtrack.jetbrains.com/issue/IDEA-118823
Elena, thanks for your reply. I submitted my vote and hope that such a feature will land very soon.