How to use predefined live templates in file templates (w/ Enable live templates)

Let's say I want this live template (`rcjc`) to be automatically used when I create a file:

I tried doing this in the file template:

However, it doesn't work, I get an empty file with `rcjc` written in it instead of the whole generated code:

Any help would be greatly appreciated.

1 comment

Not currently supported, please follow for updates

Enable Live Templates option in File Templates is not about including existing live template snippets in file templates, it just allows using templates variables there. Adding a custom variable, like #[[$Title$]]#, allows creating a placeholder for a value you can enter when file is created; predefined variable #[[$END$]]# allows to specify cursor position in created file.


Please sign in to leave a comment.