File Templates in plugin

I want to include some new file templates as part of a plugin I'm developing.

How would I add them to my plugin project in such a way that they are available when I use the plugin?

1
1 comment
Avatar
Permanently deleted user

I figured it out. For anybody who's searching for the answer:

I just created a fileTemplates/internal directory under my project's src/ directory and put them there.

Anything under fileTemplates/ shows up in the second group of the "New -> ..." menu. By placing them under internal/, I was able to hide them from the menu, but they are still usable via my code.

5

Please sign in to leave a comment.