Closed idododu closed 7 years ago
Hi, thx for report. Is FileTemplate custom(Created via IDE Settings)? Check exported FileTemplates in yourPath/templateName/fileTemplates/yourTemplate.xml it should contains all FileTemplates (Excluding non custom). If template built-in you can duplicate it as custom with another name. P.S. check similar issue #7
As you can see, template name is "templateName": "HTML File",
it is a internal template rather than custom file template
I have tried v0.4.3, but it does not work neither.
Plugin doesn't support import\export of default FileTemplates. IDE can overwrite default templates with new versions\updates. Furthermore, other devs could not expect that your FileTemplates overwrite default ones. I'm recommend to use copy pasted versions, even if they have no difference. P.S. it's ok to use same FileTemplates(custom) in multiple PackageTemplates from same author\team\company.
Description
I created a template which can generate two files(1 html + 1 js), and it works great. However, when I shared my template to a collegue, he just could not import the json files.
I modified 'listBaseElement' property to a empty array, and it can be imported.
below is my template, please help take a look, @CeH9
Another proposal
Can we export all templates at one click? Currently 'Export' function can only work on a specified json.