Create multiple files based on file templates
Is it possible to add a script (run in IntelliJ) that adds multiple files based on certain file patterns?
Use case :
I am working on an enterprise Java project that uses spring, hibernate, ..
For each Hibernate mapping, certain files need to be created:
- hibernate mapping to name
[mappingName]
- [MappingName] Repository
- [MappingName] RepositoryImpl
- [MappingName] Services
- [MappingName] ServiceImpl
- [MappingName] Controller
- [MappingName] LinkBuilder
- [MappingName] DTO
- [MappingName] DTOMapper
I created file templates for all of these files, but instead of creating each file manually, I would like to create them all in bulk.
It doesn't really matter which scripting language :-)
Is it possible?
Thanks in advance!
+3
source to share