code-generation

How to generate code with custom templates?


Is there any tool to generate code (text files) with custom templates which I define? For example it should have possibility to include multiple templates of some functions (which I can specify and parameterize) and put them in one class file template.

Do you know any advanced software which help me with that? File templates in IDE (like Webstorm) are too simple for me.


Solution

  • I made my own tool for this.

    https://github.com/latata/simple-code-generator