Ellis
Ellis

Reputation: 328

PHPStorm: Generate filename on custom file template

PHP Storm: File templates

I would like to add custom file template with generated filename. I do not want to prompt filename by hand, I want it generated with variable values.

E.g. ${YEAR}${MONTH}${DAY}_${MyCustomVar}.sql

It there a way to do that?

Upvotes: 4

Views: 891

Answers (1)

lena
lena

Reputation: 93768

Would you like to create files with 'fixed' names generated using temploate variables? It's not currently possible - you can file a request for this feature to youtrack (http://youtrack.jetbrains.com/issues/IDEA) Related ticket: http://youtrack.jetbrains.com/issue/IDEABKL-6428

Upvotes: 6

Related Questions