Hi All I am creating a new file template. How to define the new generated file name in layer.xml or wherever? At least I want to file name starts with capital letter. Now, it gives me "newSample.g4". Thanks
<folder name="Templates"> <folder name="Antlr"> <attr name="SystemFileSystem.localizingBundle" stringvalue="com.github.mcheung63.netbeans.antlr.Bundle"/> <file name="Sample.g4" url="/com/github/mcheung63/netbeans/antlr/syntax/antlr4/filetemplate/g4.html"> <attr name="template" boolvalue="true"/> <attr name="SystemFileSystem.localizingBundle" stringvalue="com.github.mcheung63.netbeans.antlr.Bundle"/> <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/com/github/mcheung63/netbeans/antlr/antlr.png"/> <attr name="templateWizardURL" urlvalue="nbresloc:/com/github/mcheung63/netbeans/antlr/syntax/antlr4/filetemplate/g4description.html"/> <!--Use this line only if your template makes use of the FreeMarker template language:--> <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/> </file> </folder> </folder> Thanks >From Peter
