Live Template for custom file-types and file names

Live Template work with specific list of file types - html \css\ XML \ js \ sql, php, haml and other.
I want Live Templates for specific file types, for example:

How it do it?

Comment actions Permalink

Alex, there's no such way currently (unless you create your own plugin). The only option is to use JavaScript context for JSON and Other for your custom file type. You may also file some feature requests, one for JSON template context, and another for the custom file type one. It would also help if you describe in the latter one how the UI could look like.


Please sign in to leave a comment.