How can I create File Template that have a live template inside it?

i'm using WebStorm.

We're trying to create a new file template that contains a live template in it (code snippet)

is it possible? 

 

0
1 comment

You can't use Live templates (snippets/functions) in File Templates. Only Live Templates variables are available (see 'Use Live templates' in https://www.jetbrains.com/help/idea/2016.3/file-and-code-templates-2.html#d714409e293).

See https://intellij-support.jetbrains.com/hc/en-us/community/posts/206816669 for more info

0

Please sign in to leave a comment.